Key:gtfs:stop_id
| Description |
|---|
| The exact value of the stop_id column in a GTFS feed. |
| Group: public transport |
| Used on these elements |
| Useful combination |
One of: |
| See also |
| Status: approved |
| Tools for this tag |
|
The key =* is used in Public transport tagging to reference the stop_id of a location in a GTFS feed.
In order to find the corresponding locations, we need to specify the feed it refers to using a feed code suffix (see List of GTFS feeds).
For a longer explanation on how to reference a GTFS feed, look at GTFS.
Combining with ref=*
There is no mechanism to infer a value of this key based on tags like railway:ref=*, ref:IFOPT=*.
Such a mechanism may cause links to GTFS objects to break when those other tags are changed. - even for something small changes like formatting.
Therefore tagging both gtfs:stop_code:[[Key:|]]=* and the other tag is encouraged, even if they have the same value.
Example
Consider Station Nijmegen, it is a station which we can find in the file stops.txt in the GTFS feed.
Below is the relevant section of that table.
| stop_id | stop_code | stop_name | location_type | parent_station | platform_code | ... |
|---|---|---|---|---|---|---|
| stoparea:17857 | nm | Nijmegen | 1 (station) |
To refer to this object we can add =stoparea:17857.