Key:gtfs:platform_code
gtfs:platform_code |
Description |
---|
The exact value of the platform_code column in a GTFS feed. |
Group: Public transport |
Used on these elements |
Requires |
One of: |
See also |
Status: approved |
Tools for this tag |
|
The key gtfs:platform_code=* is used in Public transportation tagging to add the platform_code from the GTFS stops.txt
file to a platform.
It is used to find a corresponding location in a GTFS feed. For this the feed needs to be specified 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 ref=*, 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:platform_code:[[Key:|]]=* and the other tag is encouraged, even if they have the same value.
Example
Consider [osm:node/44061300]Nijmegen Centraal platform M, it is a platform 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 | ... |
---|---|---|---|---|---|---|
2547419 | 60001013 | Nijmegen, Centraal Station | 0 (platform) | stoparea:122872 | M |
To refer to this object we can add gtfs:platform_code:NL-OVApi=M with (e.g.) gtfs:stop_name:NL-OVApi:[[Key:|]]=Nijmegen, Centraal Station.
Additionally we can add ref=M.