Proposed features/Key:gtfs:trip id

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg gtfs:trip_id
Osm element key.svg
The trip_id of the route variant in the GTFS trips.txt file Edit or translate this description.
Used on these elementsTranslate.svg
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Useful combinationTranslate.svg

One of:

See alsoTranslate.svg
StatusTranslate.svgimportTranslate.svgPage 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=*

Two different name spaces

Currently, two different name spaces are used for GTFS, gtfs_* and gtfs:*:

gtfs_trip_id=* gtfs:trip_id=*