Creating a GTFS dataset¶
A GTFS feed, which contains static transit information, is composed of a number of text (.txt) files that are contained in a single ZIP file. Each file describes a particular aspect of transit information: stops, routes, trips, fares, etc. For more information about each file, consult the GTFS reference.
In order to create a GTFS feed follow the steps below.
- Create all the required files described in the GTFS Schedule reference. Create the optional files if their functionality is desired.
- Save all files in the .txt format. Field values should be comma delimited and each line should end with a line break. See the GTFS reference for detailed information on the file contents.
- Zip all the text files together. The zipped file comprises a version of the feed.
- Publish the feed by using one of the options below.