Key:gtfs:route_long_name
gtfs:route_long_name |
Description |
---|
The exact value of the route_long_name column in a GTFS feed. |
Group: public transport |
Used on these elements |
Requires |
See also |
Status: approved |
Tools for this tag |
|
The key gtfs:route_long_name=* is used in Public transportation tagging to add the route_long_name
from the GTFS routes.txt
file to a route_master relation.
It is used to find a corresponding route 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 name=*
There is no mechanism to infer a value of this key based on tags like name=*.
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:route_long_name:[[Key:|]]=* and the other tag is encouraged, even if they have the same value.
Example
Consider Bus 10 (Nijmegen), it is a route master, so corresponds with the table routes.txt in the GTFS feed.
Below is the relevant section of that table.
rotue_id | agency_id | route_short_name | route_long_name | route_desc | route_type | route_color | route_text_color | route_url |
---|---|---|---|---|---|---|---|---|
87966 | BRENG | 10 | Nijmegen CS - Heyendaal | 3 (bus) | ||||
87987 | BRENG | 10 | Nijmegen CS - Heyendaal - CS | 3 (bus) |
To refer to route 87966, you can add gtfs:route_long_name:NL-OVApi=Nijmegen CS - Heyendaal