By Dimitris Triantafyllos
What is GTFS?
The General Transit Feed Specification (GTFS), also known as GTFS static or static transit (to differentiate it from the GTFS realtime extension), defines a common format for public transportation (PT) schedules and associated geographic information.
GTFS feeds enable PT agencies to publish their data and developers to write applications that use this data in an interoperable way. A GTFS feed is composed of a series of text files collected in a ZIP file. Each file models a particular aspect of PT information: stops, routes, trips, and other schedule data. The details of each file are defined in the GTFS reference document.
Where can I find public GTFS feeds?
A list of transit agencies who provide GTFS public feeds is available on the GoogleTransitDataFeed project site.
How can I use the GTFS importer in Aimsun Next?
After downloading the GTFS folder (see link above), verify that it includes the required files: agency.txt, stops.txt, routes.txt, trips.txt, and stop_times.txt.
The following files are optional and, if available, can be used to improve the accuracy of the GTFS importer: calendar.txt, calendar_dates.txt, fare_attributes.txt, fare_rules.txt, shapes.txt, frequencies.txt, transfers.txt, and feed_info.txt.
The GTFS importer creates the transit stops, lines, and timetables within the boundaries of the sub-network and/or for the geometry related to a specific scenario.
A. To import the transit stops:
Tip: You may create a new View Mode with two View Styles (GKPoint and GKBusStop) to verify that the stops have been correctly created on the related sections.
B. To import the transit lines:
C. To import timetables:
On the GTFS Importer dialog tab named Optional, you will find several additional options.
By setting Prefixes, when the importation is done, the prefix for the Line Name is set in the beginning of the transit line’s Name (i.e. A_4_1) and External ID (A_SCT-PCA-4). For the Timetable is set in the beginning of the Timetable Name (i.e. B_GTFS…). See the examples in the screenshots below:
See the main usages of the Prefixes options below: