Class | Description |
---|---|
GtfsAgenciesSupplementReader |
GTFS reader for supplemental agency.txt file
|
GtfsAgencyReader |
GTFS reader for the agency.txt file
|
GtfsCalendarDatesReader |
GTFS reader for the calendar_dates.txt file
|
GtfsCalendarReader | |
GtfsFareAttributesReader |
GTFS reader for the fare_attributes.txt file
|
GtfsFareRulesReader |
GTFS reader for the fare_rules.txt file
|
GtfsFeedInfosReader |
GTFS reader for the feed_info.txt file
|
GtfsFrequenciesReader |
GTFS reader for the frequencies.txt file
|
GtfsRoutesReader |
GTFS reader for the route.txt file
|
GtfsRoutesSupplementReader |
GTFS reader for the routeSupplement.txt file
|
GtfsShapesReader |
GTFS reader for the shapes.txt file
|
GtfsShapesSupplementReader |
GTFS reader for supplemental shapes.txt file.
|
GtfsStopsReader |
GTFS reader for the stops.txt file
|
GtfsStopsSupplementReader |
GTFS reader for supplemental stops.txt file
|
GtfsStopTimesReader |
GTFS reader for the stop_times.txt file
|
GtfsStopTimesSupplementReader |
GTFS reader for supplemental stop_times.txt file
|
GtfsTransfersReader | |
GtfsTripsReader |
GTFS reader for the trips.txt file
|
GtfsTripsSupplementReader |
GTFS reader for supplemental trips.txt file
|
A key feature of these readers is that they handle additional columns that are not part of the GTFS standard. In this way can easily add useful information such as route ordering for a user interface, whether a stop is a timepoint, etc.
Also, the CSV readers can merge in supplemental CSV files joined by a key. For example, you can specify a supplemental routes.txt file that has just the route_short_name and a route_order column defined. This file can reside in a separate location that doesn't need to be updated. It can, for as many routes as desired, define the route order for the routes in the user interface. When new GTFS data is obtained from the agency most likely the routes haven't changed. Therefore the same unchanged supplemental file can be used when processing the new GTFS data to get the route order.
Note: CsvBaseReader specifies that a line is a comment if it starts with '-' character. This means can comment out lines by starting them with "--", as with SQL.