Proposed features/Key:gtfs:trip id:sample

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg gtfs:trip_id:sample
Osm element key.svg
One example "trip_id" of the public transport route variant in the GTFS "trips.txt" file.
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:sample=* is used in public transportation tagging to add one trip_id from the GTFS trips.txt file as example 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:sample=* is evaluated by PTNA to link from the analysis to the GTFS data if additionally gtfs:feed=*, operator:guid=* or network:guid=* (in this order) is present (example).
Adding the gtfs:route_id=* does not harm but is not needed as it is derivable from gtfs:trip_id:sample=*

If the route variant represents only one trip with a single service_id gtfs:trip_id=* is an alternative key to use.

Two different name spaces

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

gtfs_trip_id:sample=* gtfs:trip_id:sample=*