Proposed features/Key:gtfs:trip id:sample
Jump to navigation
Jump to search
![]() |
Description |
---|
One example "trip_id" of the public transport route variant in the GTFS "trips.txt" file. |
Group: Public transport |
Used on these elements |
Useful combination |
One of: |
See also |
Status: imported![]() |
Tools for this tag |
|
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=* |
Visualization
- PTNA represents gtfs:trip_id:sample=* on its pages about GTFS trips and in the network network analysis (overview) under the tags summary.