Tag:railway=facility

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg railway = facility
Commons-emblem-hand.svg
Description
Using this tag is discouraged, use railway=station mapped as an area instead. Show/edit corresponding data item.
Group: railways
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
See also
Status: deprecated

exclamation mark

This feature has been labeled as deprecated. The recommended replacement is: railway=station mapped as an area.
The reason is documented in Deprecated features. You are still free to continue to use or interpret this tag as you see fit since OpenStreetMap does not have “banned features”.
Under no circumstances should you (semi-)automatically change “deprecated” tags to something else in the database on a large scale without conforming to the automated edits code of conduct. Any such change will be reverted.

railway=facility is a type of site relation connecting infrastructure elements of a railway operating site, such as tracks, switches, platforms, buildings and stop positions. The tagging is similar to public_transport=stop_area but it's also used for non-public railway operating sites.

Note that interlockings are not operating sites.

Tagging

Key Value Property Description Default value
railway facility Operating site General tag for operating site relations.
type site Type Describes this relation as a site relation.
name <name> Name The name of the operating site; it should match the name of the node.
railway:ref <code> Site code The reference code the railway uses to refer to the site; it should match the name of the node. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the operating site.
uic_ref <code> UIC code The UIC (International Union of Railways) code for this operating site.
uic_name <name> UIC name The UIC (International Union of Railways) name for this operating site.
train yes/no Railway Is the stop position for a railway? no
light_rail yes/no Light rail Is the stop position for light rail? no
subway yes/no Subway Is the stop position for a subway? no
tram yes/no Tram Is the stop position for a tram? no

Members[1]

Role Count Feature Description
<empty, no role> 1 Operating site The area or node of the operating site must be included.

Leave the role field empty even if JOSM warns you.

track 1+ railway=rail At least one track should be included.
switch 0+ railway=switch If present, switches should be included.
signal 0+ railway=signal If present, signals should be included.
stop 1+ public_transport=stop_position At least one stop position should be included.
platform 0+ railway=platform If present, platforms should be included.
subway_entrance 0+ railway=subway_entrance If present, subway entrances should be included.
building 0+ building=* Any buildings part of the operating site should be included. Usually, this is the station building.

References