Template:Map Features:railway
Jump to navigation
Jump to search
Railway
This tag includes all kinds of railways ranging from heavily used mainline railways to an abandoned rail line. See the page titled Railways for an introduction on its usage.
Key | Value | Element | Comment | Rendering carto | Photo | |
---|---|---|---|---|---|---|
Tracks | ||||||
railway | abandoned | ![]() |
The course of a former railway which has been abandoned and the track and infrastucture removed. The course may be still recognized through embankments, cuttings, bridges, tunnel and rolling or straight ways. | currently not rendered by osm-carto | ||
railway | construction | ![]() |
Railway under construction. | |||
railway | disused | ![]() |
A section of railway which is no longer used but where the track and infrastructure remains in place. | |||
railway | funicular | ![]() |
Cable driven inclined railways on a steep slope, with a pair of cars connected by one cable | |||
railway | light_rail | ![]() |
A higher-standard tram system, normally in its own right-of-way. Often it connects towns and thus reaches a considerable length (tens of kilometers). | |||
railway | miniature | ![]() |
Miniature railways are narrower than narrow gauge and carry passengers, frequently at an exact scale of "standard-sized" rail (for example "1/4 scale"). They can often be found in parks. | |||
railway | monorail | ![]() |
A railway with only a single rail. A monorail can run above the rail like in Las Vegas and Disneyland or can suspend below the rail like the Wuppertal Schwebebahn (Germany). | |||
railway | narrow_gauge | ![]() |
Narrow-gauge passenger or freight trains. Narrow gauge railways can have mainline railway service like the Rhaetian Railway in Switzerland or can be a small light industrial railway. Use gauge=* to specify the actual width of rails in mm. | |||
railway | preserved | ![]() |
A railway running historic trains, usually a tourist attraction. Using railway:preserved=yes is an alternate method to mark railway as preserved. | |||
railway | rail | ![]() |
Full sized passenger or freight trains in the standard gauge for the country or state. | |||
railway | subway | ![]() |
A city passenger rail service running mostly grade separated (see Wikipedia:rapid transit). Often a significant portion of the line or its system/network is underground. | |||
railway | tram | ![]() |
One or two carriage rail vehicles, usually sharing motor road, sometimes called "street running" (Other languages). | |||
Additional features | ||||||
bridge | yes | ![]() |
If the railway goes over a street, waterway or other railway on an elevated structure. | |||
cutting | yes | ![]() |
A section where the railway is significantly lower than ground level, but not underground. | |||
electrified | contact_line rail yes no |
![]() |
contact_line: a power line over the train head rail: a third rail near the track supplying the train with power yes: electrified track, but no details available no: track with no power supply. |
|||
embankment | yes | ![]() |
A section where the railway is raised significantly higher than ground level | |||
embedded_rails | yes/<type of railway> | ![]() |
Specifies that a highway on which non-railway traffic is also allowed has railway tracks embedded in it but the rails are mapped as separate ways. | |||
frequency | number [Hz] | ![]() |
The frequency with which a line is electrified. Use 0 for DC. Also see the voltage tag. | |||
railway:track_ref | number | ![]() |
Track number | |||
service | crossover | ![]() |
Relatively short lengths of track which switch traffic from one parallel line to another | |||
service | siding | ![]() |
Relatively short lengths of track, running parallel to (and connected to) a main route | |||
service | spur | ![]() |
Relatively short lengths of track, built to give one company or entity access to a main or branch line. | |||
service | yard | ![]() |
Tracks within railway company operated marshaling or maintenance yards. | |||
tunnel | yes | ![]() |
If the railway goes below ground. Most subways have this tag | |||
tracks | number | ![]() |
Number of parallel tracks in close proximity when mapped as one single way representing all tracks. If not given means unknown and defaults to 1. In many parts of the world the tracks are being drawn out separately so that there is more detail, in which case this tag isn't used. | |||
usage | main branch freight industrial military tourism |
![]() |
main line: heavy traffic branch line: connecting places with a mainline freight: freight service only industrial: servicing large plants (iron, chemical etc.), surface mining, … military: servicing military area tourism: most mountain rails (rack-rails, funicular) and preserved railways. |
|||
voltage | number | ![]() |
The voltage with which a line is electrified. Also see the frequency tag. | |||
Stations and Stops | ||||||
railway | halt | ![]() |
A small station without switches | |||
public_transport | stop_position | ![]() |
The position on the railway track where the train (its center) stops at a platform. This is useful for routing on long platforms where also short trains stop and on long platforms where multiple trains stop behind each other. See also public_transport=stop_area. | |||
public_transport | platform | ![]() ![]() ![]() |
This is parallel to the rail line for showing where the actual platforms are. It is also to know where you can change platform and enter the station, so use footpaths to connect them. This is really useful for routing too. Use only if the platform is served by public transport. | |||
railway | platform | ![]() ![]() |
This is parallel to the rail line for showing where the actual platforms are. It is also to know where you can change platform and enter the station, so use footpaths to connect them. This is really useful for routing too. Use in addition to public_transport=platform. | |||
public_transport | station | ![]() ![]() |
Railway passenger only station. | |||
railway | station | ![]() ![]() |
Railway passenger and/or cargo station. Use in addition to public_transport=station. | |||
railway | subway_entrance | ![]() |
The entrance to a subway station, usually going from surface to underground. | |||
railway | tram_stop | ![]() |
A tram stop is a place where a passenger can embark / disembark a tram. | |||
Other railways | ||||||
railway | buffer_stop | ![]() |
stops the train at the end of a track. see Buffer_stop. | currently not rendered by osm-carto | ||
railway | derail | ![]() |
a device used to prevent fouling of a rail track by unauthorized movements of trains or unattended rolling stock. See Derail_(railroad). | currently not rendered by osm-carto | ||
railway | crossing | ![]() |
A point where pedestrians may cross. | |||
railway | level_crossing | ![]() |
A point where rails and roads cross. | |||
landuse | railway | ![]() |
Ground used around railways and railway-stations. | ![]() |
||
railway | signal | ![]() |
Any kind of railway signal. | currently not rendered by osm-carto | ||
railway | switch | ![]() |
Full connections between railways (aka 'points'). | currently not rendered by osm-carto | ||
railway | railway_crossing | ![]() |
Crossing rails with no interconnection. | currently not rendered by osm-carto | ||
railway | turntable | ![]() ![]() |
These are used for changing the direction that part of a train is pointing in. | ![]() |
||
railway | roundhouse | ![]() |
A semicircular building with many stalls for servicing engines. | Without building=*: currently not rendered by osm-carto With building=*: same as building=* |
||
railway | traverser | ![]() ![]() |
These are used for changing trains between railways. Also known as transfer table. | ![]()
|
||
railway | wash | ![]() ![]() |
A Railroad car wash | currently not rendered by osm-carto | ||
railway | user defined | ![]() ![]() |
All commonly used values according to Taginfo | – – – | – – – |
This table is a wiki template with a default description in English. Editable here.
This documentation is transcluded from Template:Map Features:railway/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Template for the Railway table in the Map Features page. Use the default English text or use the template arguments for your translations
Usage
All parameters are optional. By default, text is in English. English writers shall write their comments in the template itself (avoiding double edition). Other languages are translated in template arguments, not in the template itself.
section header
|name= (section header line) |description= (displayed before and/or after the table; optional) == One key/value row == |railway:key= |station:value= |station:desc= |station:render= |station:photo=
Full code
<noinclude>{{languages}} </noinclude>{{Map_Features:railway |name= |description= |head:key= |head:value= |head:element= |head:desc= |head:render= |head:photo= |head:track= |head:additional= |head:stops= |head:intersections= |head:related= |railway:key=Key:railway |landuse:key=Key:landuse |service:key=Key:service |abandoned:value=Tag:railway=abandoned |abandoned:desc= |construction:value=Tag:railway=construction |construction:desc= |disused:value=Tag:railway=disused |disused:desc= |funicular:value=Tag:railway=funicular |funicular:desc= |light_rail:value=Tag:railway=light_rail |light_rail:desc= |miniature:value=Tag:railway=miniature |miniature:desc= |monorail:value=Tag:railway=monorail |monorail:desc= |narrow_gauge:value=Tag:railway=narrow_gauge |narrow_gauge:desc= |preserved:value=Tag:railway=preserved |preserved:desc= |rail:value=Tag:railway=rail |rail:desc= |subway:value=Tag:railway=subway |subway:desc= |tram:value=Tag:railway=tram |tram:desc= |bridge:key=Key:bridge |bridge:desc= |cutting:key=Key:cutting |cutting:desc= |electrified:key=Key:electrified |electrified:desc= |embankment:key=Key:embankment |embankment:desc= |frequency:key=Key:frequency |frequency:value=''number'' |frequency:desc= |track_ref:key=Key:railway:track_ref |track_ref:value=''number'' |track_ref:desc= |siding:value=Tag:service=siding |siding:desc= |spur:value=Tag:service=spur |spur:desc= |yard:value=Tag:service=yard |yard:desc= |tracks:key=Key:tracks |tracks:value=''number'' |tracks:desc= |tunnel:key=Key:tunnel |tunnel:desc= |usage:key=Key:usage |usage:desc= |voltage:key=Key:voltage |voltage:value=''number'' |voltage:desc= |halt:value=Tag:railway=halt |halt:desc= |stopposition:value=Key:public_transport |stopposition:desc= |platform:value=Tag:public_transport=platform |platform:desc= |railwayplatform:value=Tag:railway=platform |railwayplatform:desc= |public_transport-station:value=Tag:public_transport=station |public_transport-station:desc= |station:value=Tag:railway=station |station:desc= |subway_entrance:value=Tag:railway=subway_entrance |subway_entrance:desc= |tram_stop:value=Tag:railway=tram_stop |tram_stop:desc= |buffer_stop:value=Tag:railway=buffer_stop |buffer_stop:desc= |derail:value=Tag:railway=derail |derail:desc= |crossing:value=Tag:railway=crossing |crossing:desc= |level_crossing:value=Tag:railway=level_crossing |level_crossing:desc= |landuse:value=Tag:landuse=railway |railway_landuse:desc= |signal:value=Tag:railway=signal |signal:desc= |switch:value=Tag:railway=switch |switch:desc= |railway_crossing:value=Tag:railway=crossing |railway_crossing:desc= |turntable:value=Tag:railway=turntable |turntable:desc= |roundhouse:value=Tag:railway=roundhouse |roundhouse:desc= |traverser:value=Tag:railway=traverser |traverser:desc=' |Proposed_features:value2= ''other values'' |Proposed_features:desc= ''[//taginfo.openstreetmap.org/keys/railway#values All common values] according to [[Pt:Taginfo|Taginfo]]'' }} <span style="font-size:80%;line-height:120%;" class="noprint">[[Template:Map_Features:railway|Edit this table in english]].</span> <noinclude>[[Category:Templates|Map Features:railway]]</noinclude>