General Transit Feed Specification
The , 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.
Similar is the situation about multiple values where it is not clear how to handle these cases (example).
At least for routes, gtfs_id=* or gtfs:id=* can be misleading as it is not clear which of
trip_id is meant and more than one of the three ids can be added to a PTv2 route relation.
- Mapping to OSM tags (draft)
Alternative for stops
In Europe, for public transport stops, the
stop_code is identical to the IFOPT references. In these situations, instead of gtfs_id=*, gtfs_stop_code=* or gtfs:stop_id=*, it is wise to use the established ref:IFOPT=*.
- PTNA - Public_Transport_Network_Analysis aggregates open and correctly licensed GTFS data from some countries. Can easily support more countries if demanded and links to sources provided.
- 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.
- transit.land - commercially funded aggregation of GTFS data.
- transport.data.gouv.fr - french open data GTFS (ODbL)
Visualizing of GTFS
- PTNA - nice online visualization of aggregated and correctly licensed GTFS data with tag recommendations for route relations and map overlay for shapes.
Conversion of OpenStreetMap and GTFS
OSM -> 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.
GTFS -> OSM
- GO-Sync (aka gtfs-osm-sync) - a desktop tool to synchronize GTFS feeds with OSM
- gtfs-sql-importer - This tool can convert GTFS to SQL postgis schema where GTFS can be further manipulated. More examples of this tool can be found in GTFS SQL examples.
- The external JOSM preset Public Transport GTFS and rule Public Transport GTFS support some of the tags.
- PTNA evaluates gtfs:feed=*, gtfs:release_date=*, gtfs:route_id=*, gtfs:shape_id=*, gtfs:trip_id:sample=* and gtfs:trip_id=* to provide a link from the relation to the GTFS data.
- GO-Sync - a GTFS and OpenStreetMap data synchronization tool - a Google Groups thread announcing gtfs-osm-sync, and difficulties of multiple operators for bus stops
- GO-Sync - a GTFS and OpenStreetMap data synchronization tool - gtfs-osm-sync announcement on Talk-transit
- GTFS compatibility (and  and ) - discussion on Talk-transit
- Bus stops in North America from GTFS data - thread on Talk-transit