Key:gtfs:route_short_name

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg gtfs:route_short_name
Description
The exact value of the route_short_name column in a GTFS feed. Show/edit corresponding data item.
Group: public transport
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Requires
See also

GTFS

Status: approvedPage for proposal

The key gtfs:route_short_name=* is used in Public transportation tagging to add the route_short_name from the GTFS routes.txt file to a relation 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_short_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.

routes.txt
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_short_name:NL-OVApi=10 in combination with (e.g.) gtfs:route_long_name:NL-OVApi=Nijmegen CS - Heyendaal