From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg route = railway
08 tory railtrack ubt.jpeg
The route of a railway (e.g. the Channel Tunnel). Not to be confused with the route of a passenger 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
Useful combination
See also
Status: in use

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.

Passenger train services which run on the line (and connecting lines) are tagged separately using one or more route=train relations.

See Railways and Train routes.

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


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