From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg gtfs:trip_id
The "trip_id" of the public transport route variant in the GTFS "trips.txt" file. Show/edit corresponding data item.
Group: public transport
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Useful combination

One of:

See also
Status: importedPage for proposal

The key gtfs:trip_id=* is used in public transportation tagging to add the trip_id from the GTFS trips.txt file to a PTv2 type=route relation.

Please, use gtfs:shape_id=* if present in trips.txt or shapes.txt as it better fits.

gtfs:trip_id=* should only be used if the route variant represents only one single trip with only one service_id. Otherwise, please, use gtfs:shape_id=* or gtfs:trip_id:sample=*.

gtfs:trip_id=* is evaluated by PTNA to link from the analysis to the GTFS data if additionally network:guid=*, operator:guid=* or gtfs:feed=* is present (example).
Adding the gtfs:route_id=* does not harm but is not needed as it is derivable from gtfs:trip_id:sample=*