Tag:route=railway

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg route = railway
Railway tracks.jpg
Description
The route of a railway (e.g. the Channel Tunnel). Not to be confused with the route of a train service (see route=train). Edit this description in the wiki page. Edit this description in the data item.
Group: Railways
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
Useful combination
See also
Status: in use

Wikidata

This tag is used on relations which map the route of a railway line. These relations gather rail infrastructure (track) elements, often with the same name=*, railway=*, usage=* and owner=* / operator=* tags.

Train services which run along the line (and connecting lines) are tagged separately using route=train.

See Railways and Train routes.

Note: do not use a railway=rail tag on this relation as this will confuse renderers.

Tagging

The ways (usually railway=rail, though less often railway=disused, railway=abandoned or railway=razed) are collected in a relation with the following tags:

Key Value Comment Example (relation 134946)
type route (mandatory) type=route
route railway (mandatory) route=railway
ref number (usually mandatory, though left empty when unknown) ref=801
name track name Name of the track (mandatory) name=KBS 801 Schlüchtern - Gemünden
operator company name Operator of the track
from station name Originating station (recommended) from=Schlüchtern
via station name Important intermediate stations
to station name Destination station (recommended) to=Gemünden

See also