General Transit Feed Specification

From OpenStreetMap Wiki
(Redirected from GTFS)
Jump to navigation Jump to search

The General Transit Feed Specification (GTFS), originally called the Google Transit Feed Specification, was developed by Google as a format for sharing public transportation information such as bus stops and bus routes.


Looking on Taginfo, some of the tags that are currently in use include: gtfs_id=*, gtfs_stop_code=*, gtfs_route_id=*. However it doesn't appear that anyone has stored the agency_id. There's also the possibility that a single stop could have multiple carriers (operators), and therefore should be able to have multiple pairs of agency_id and stop_id.

gtfs_id=* gtfs_stop_code=* gtfs_route_id=*

Data Sources

  • GTFS Data Exchange - Data available for 1000 transit agencies (as of 9 Dec 2016), though licensing varies. Soon to be shutting down.
  • Google's list of GTFS data sources
  • OpenMobilityData (formerly TransitFeeds) - open source aggregation project of GTFS data.
  • - commercially funded aggregation of GTFS data.
  • [1] - french open data GTFS

Conversion of OpenStreetMap and GTFS

  • osm2gtfs - An extendable python script to query OpenStreetMap data about public transport, combining it with time information provided from a different source and convert it into the GTFS format.
  • GO-Sync (aka gtfs-osm-sync) - a desktop tool to synchronize GTFS feeds with OSM


External links