All Classes and Interfaces
Class
Description
An identifier class that combines a
AgencyAndId id with a service
date.Error indicating that there was a problem finding the appropriate
Agency instance to set in a call to Route.setAgency(Agency).Represent a service interval (a period of defined transit both scheduled and dynamic)
that exists on a given service date and window relative to that date.
While the set of
ServiceCalendar and ServiceCalendarDate
entities for a given GTFS feed compactly represent the dates of service for a
particular service id, they are not particularly amenable to quick
calculations.We perform initial date calculations in the timezone of the host jvm, which
may be different than the timezone of an agency with the specified service
id.
An implementation of
CalendarService.Factory interface for creating a
Converter.A
FieldMappingFactory implementation that produces a
FieldMapping that is responsible for setting the
AgencyAndId.setAgencyId(String) portion of an AgencyAndId
identifier.Indicates that two entities with the same id were found in a GTFS feed as it
was being read.
FieldMappingFactory that produces a FieldMapping instance
capable of mapping a CSV string entity id to an entity instance, and vice
versa.Indicates that a GTFS entity has a reference to another entity that has not
been seen before in the feed and that we don't know how to specify a default
agency id for that entity as result.
This annotation indicates that a field is experimental.
Fare products have a composite primary key of
- fare product id
- fare medium id (nullable)
- rider category id (nullable)
So if you want this library to look up the fare product instance you need to supply all of these,
hence we need a custom mapping factory.
Support class that provides an implementation of
GenericMutableDao
where all methods calls are passed to an underlying wrapped instance of
GenericMutableDao.Basic methods for accessing GTFS entities in bulk or by id.
While
GtfsDao has basic methods for retrieving collections of
entities and entities by id, GtfsRelationalDao adds some basic
methods for retrieving entities using more complex data relations.A in-memory implementation of GtfsRelationalDaoImpl.
GTFS Extension representing icon configuration data.
Indicates the an "arrival_time" or "departure_time" value for in the
"stop_times.txt" csv file could not be parsed.
Combines a serviceId (represented by
AgencyAndId) and a
TimeZone object that can be used to ground ServiceDate
objects.Indicates that multiple
ServiceCalendar entities, as loaded from
calendars.txt, were found with the same
ServiceCalendar.getServiceId() value, a violation of the GTFS spec.Indicates that no default agency id (see
GtfsReaderContext.getDefaultAgencyId() was specified for a particular
feed.As of July 2022 this file is not yet part of the main GTFS spec.
ridership.txt from https://github.com/ODOT-PTS/GTFS-ride/blob/master/spec/en/reference.md#board_alighttxt
Responsible for setting the
Route.setAgency(Agency) from a csv
"agency_id" field in "routes.txt" and vice-versa.The GTFS spec declares that at least one of
Route.getShortName() or
Route.getLongName() must be specified, if not both.experimental support for canonical/idealized route shapes such
as a map's representation of service
experimental support for canonical/idealized route stops such
as a strip map's representation of service
Note that I decided to call this class ServiceCalendar instead of Calendar,
so as to avoid confusion with java.util.Calendar
A general representation of a year-month-day tuple not tied to any locale and
used by the GTFS entities
ServiceCalendar and
ServiceCalendarDate to represent service date ranges.A
Map of LocalizedServiceId and ServiceInterval
objects, with convenience methods for adding additional service ids and
arrival-departure time intervals.Specifies an immutable interval of min and max arrival and departure times.
A StopLocation describes a place where a vehicle can be boarded or alighted, which is not
necessarily a marked stop, but can be of other shapes, such as a service area for flexible
transit.
FieldMappingFactory that produces a FieldMapping instance
capable of mapping a CSV stopLocation string entity id to an concrete entity
instance, and vice versa.This class implements the GTFS Translations extension proposal, documented here: http://bit.ly/gtfs-translations
Indicates that the
Agency.getTimezone() string does not evaluate to a
valid TimeZone.GTFS Extension representing vehicle configuration data.
An GTFS extension that allows for re-mapping of route + direction + stop
tuples to a replacement stop.
Zip file support.