Key:gtfs:stop_name

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg gtfs:stop_name
Description
The exact value of the stop_name column in a GTFS feed
Group: public transport
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Requires

One of:

Status: approvedPage for proposal

The key gtfs:stop_name=* is used in Public transportation tagging to add the stop_name from the GTFS stops.txt file to a platform/station/entrance/ ... .

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 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:stop_name=* and the other tag is encouraged, even if they have the same value.

Example

Consider Nijmegen bus station, 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.

stops.txt
stop_id stop_code stop_name location_type parent_station platform_code ...
stoparea:122872 Nijmegen, Centraal Station 1 (station)

To refer to this object we can add gtfs:stop_name:NL-OVApi=Nijmegen, Centraal Station with an (implicit) gtfs:location_type:NL-OVApi=1 to exclude platforms.

Additionally we can add name=Station Nijmegen.