OpenRailwayMap/Tagging

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — OpenRailwayMap/Tagging

This page describes OpenRailwayMap tagging scheme.

The tagging scheme below is kept highly generic in order to be applicable internationally. More information on specific details for certain countries (such as signals, operating procedures), including illustrated examples, are available at country-specific tagging.

Many tags have a standard value. These values can be used by applications if the tag is not set. In this case the software expects that the standard value is the correct value. If the value of a tag is equal to the standard value, you do not need to set this tag, because the software automatically selects the correct value. Nevertheless you can set the tag, to show other mappers that you do not forgot to set this tag and to prevent conflicts with other applications.

Contents

Tagging scheme

Infrastructure

Tracks

Way Each track is to be treated separately. Thus, double track lines are to be mapped with two separate tracks. Tags such as tracks=* are not interpreted by OpenRailwayMap, because each mapped way is treated as a single track.

Key Value Property Description Default value
railway rail (active) track A track that is used on a regular basis.
proposed Planned track A planned track, still in the design phase (no construction yet).
construction Track under construction construction=* can be used for a more precise description. It obtains the value usually given to railway=*, such as railway=construction and construction=narrow_gauge.
disused Disused track The track is preserved (can still be seen) but is no longer in use and possibly overgrown.
abandoned Abandoned track While the track no longer holds any rails or signals, the former line (or even a trackbed) can still be seen. These remains might include embankments, trenches, bridges and tunnels.
razed Overbuilt track A former track that has been built upon. While some remains might still be seen, the former route is subject to educated guesses for the most part.
narrow_gauge Narrow-gauge track A track with a gauge narrower than typical to this country. A gauge might be defined by the tag gauge=*. For tracks with three rails, the tag railway=rail can be used, specifying both gauges by gauge=*, separated by a semicolon (such as 1435;1000).
light_rail Suburban train/City railway City railway and tramlike underground or suburban trains. They mostly match a heavy train, but differ in power system, its own signals and a special vehicle fleet (such as "S-Bahn" Hamburg and Berlin, Hamburger Hochbahn). It hardly crosses road traffic.
subway Subway/Metro Underground railway in larger cities, powered mostly by third rail. It has its own vehicles and signal system. Sometimes it also comes to the surface. Do not map ordinary railway, which goes partially underground, with this tag!
tram Tram Mostly overground on-street laid tracks. It is common that vehicles like motorcars can share traffic lanes with trams. Some special railways similar to trams might be also mapped using this tag. Larger parts of tram tracks can also go underground. Some tram routes also use ordinary railway tracks. These should me mapped as ordinary railway tracks.
miniature Miniature railway Small railways in parks for entertainment or as a tourist attraction, mostly narrow gauge (up to 600mm).
name <line name> Railway line name The name of a railway line e.g. Great Western Main Line. Use this tag for proper names only. You should not enter descriptions such as London - Birmingham or the name of the track inside a station, like Track 5. See also Names#Name_is_the_name_only.
description <line description> Railway line descriptions Railway line names which are rather descriptive than a name (see Names#Name_is_the_name_only), e.g. London - Paris or Track 5.
ref <line number> Railway line number The reference number of the railway line the track belongs to.
railway:track_ref <track number> Track number Number of a track inside railway station area.
historic railway Historic Railway Track Should be used in conjunction with railway=disused, railway=abandoned, and railway=razed. no
railway:preserved yes/no Preserved Railway Track Heritage railways or railways which are operated with the aim to preserve the historical state (vehicles, buildings, signalling). Usually (but not necessarily) such tracks are operated by railroad museums for the purpose of tourism, although there are also lines with regular public transport with historic trains (e.g. Harz narrow gauge railways) or trolley routes. This Tag replaces railway=preserved.
no
usage Warning: Inside railway station area, use usage=* only for the main tracks (not for siding, yard tracks etc.). That also applies for crossover or overtaking tracks outside of the railway stations. Always use this tag only on the main tracks. As an exemption, you may use usage=industrial and usage=military on siding and yard tracks, and crossovers in industrial areas such as harbours and mines.
main Main line Main line, mostly double tracked and electrified. Use this tag on railways with high maximum speed and dense traffic. Railway crossings are mostly elevated.
branch Branch line Branch lines, which are mostly single tracked, not electrified and with lower maximum speed. Railway crossings are mostly on the same level as tracks.
industrial Industrial line Lines, that serve only goods transport. Mostly in larger ports or industrial areas. Mostly owned by industrial company. As an exemption, you may use usage=industrial on siding and yard tracks, and crossovers in industrial areas such as harbours and mines.
military Tracks used by military Military used tracks. Mostly between railway station and ammunition storage areas.
tourism Tracks used only by tourist Lines used only by tourist, often in service only during summer. Often run by museums featuring historical trains.
test Tracks used for testing Tracks used for testing of new vehicles.
highspeed yes/no High-speed line Is this line a high-speed line (with permissible speeds greater than 200 kph)? Such lines may have balastless/slab track and usually have no level crossings. Most of the traffic are usually long-distance passenger trains, usually dedicated high-speed trains (such as ICE, TGV or Thalys). no
railway:tilting yes/no Tilting If this track is designed for tilting trains (used for the possibility to go through curves faster) no
lit yes/no Lightning Is this track lit? no
electrified yes Electrification Used for electrified tracks
no Not electrified Used for non-electrified tracks.
contact_line Contact line Used for tracks with a catenary/contact line above them.
rail Contact rail Used for tracks electrified by a contact rail/third rail.
ground-level_power_supply ground-level power supply Used for tracks electrified with Wikipedia ground-level power supply on Wikipedia.
electrified:rail top/side/bottom Contact Type The contact type of the third rail.
deelectrified yes De-electrified Used for tracks that were formerly electrified, but have since been removed.
contact_line Contact line Used for tracks with a catenary/contact line above them.
rail Contact rail Used for tracks electrified by a contact rail/third rail.
voltage <voltage in Volts> Voltage Voltage of the railway electrification system. Wikipedia Current Systems on Wikipedia
frequency <frequency in Hertz> Frequency Frequency of the railway electrification system. Use 0 for direct current. More information 0
gauge <Distance between rails in millimetres> Track Gauge Distance between rails of the track. In Europe mostly 1435mm. Wikipedia Track Gauge on Wikipedia 1435
embedded yes Embedded Rail Used for tracks that are embedded in any sort of pavement. This is often for level crossings, but it can also be seen for Wikipedia street running on Wikipedia, embedded slab track, or other such anomalies.
pavement Pavement Embedded Rail Embedded rail where the gaps on the sides of the rail and flangeway are the same pavement material.
metal Metal Cover Plate Embedded rail where the gaps on the sides of the rail and flangeway are covered with a metal plating.
wood Wood Cover Embedded rail where the gaps on the sides of the rail and flangeway are covered or filled with wood planks. This is an older method that's largely replaced because of rot.
plastic Plastic Cover Embedded rail where the gaps on the sides of the rail and flangeway are covered or filled with plastic.
railway:rail jointed/continuous Connection of rails What type of rail it is. It is either Wikipedia jointed track on Wikipedia, which is bolted together at joints by joint bars/fishplates, or Wikipedia continuously-welded rail on Wikipedia, where the joints are welded together to form a single rail that is often several miles long.
railway:etcs <ETCS-Level> / yes/no ETCS Is the line equipped with Wikipedia ETCS on Wikipedia? If so, the ETCS Level may also be specified. no
railway:track_class <track class> Track Class The Track class of the railway line, see Wikipedia Track classes on Wikipedia
railway:atc yes/no Automatic Train Control Is the track equipped with Wikipedia Automatic Train Control on Wikipedia? no
railway:pzb yes/no PZB Is the line equipped with Wikipedia PZB on Wikipedia? no
railway:lzb yes/no LZB Is the line equipped with Wikipedia LZB on Wikipedia? no
railway:integra_signum, *:evm, *:aws, *:gwatp, *:atb, *:kvb, *:ls, *:selcab, *:ebicab, *:zbs, *:shp, *:scmt, *:alsn, *:tpws, *:atb-eg, *:atb-ng, *:atb-vv, *:tvm, *:bacc, *:gw_atp, *:crocodile, *:memor, *:memor2, *:memor2+, *:tbl1, *:tbl1+, *:tbl2, *:rs4, *:asfa, *:asfa_fac, *:asfa_200, *:asfa_200_ave, *:zub121, *:eurozub, *:gnt yes/no Other train protection systems Is the line equipped with other train protection systems? no
loading_gauge <Loading Gauge> Loading Gauge The allowed loading gauge,which defines the maximum size of the vehicles, see Wikipedia Loading gauge on Wikipedia. This tag replaces structure_gauge=*.
metre_load <metre load in tons per metre> Metre Load The maximum allowed weight per metre of rolling stock in tons per metre. Please mind that this tag is spelled in British English with "re" at the end.
axle_load <axle load in tons> Axle Load The maximum allowed axle load of rolling stock in tons.
railway:ballastless yes/no Slab Track Does the trackbed lack ballast? no
rack yes/no Wikipedia Rack (Cog) Railway on Wikipedia Is the railway equipped with a rack system or not? no
riggenbach Wikipedia Riggenbach System on Wikipedia The rack system used is the Riggenbach System.
strub Wikipedia Strub System on Wikipedia The rack system used is the Strub System.
abt Wikipedia Abt System on Wikipedia The rack system used is the Abt System.
locher Wikipedia Locher System on Wikipedia The rack system used is the Locher System.
riggenbach-klose Riggenbach-Klose System The rack system used is the Riggenbach-Klose System.
marsh Wikipedia Marsh System on Wikipedia The rack system used is the Marsh System.
von_roll Wikipedia Lamella (Von Roll) System on Wikipedia The rack system used is the Lamella System, also known as the Von Roll System.
railway:traffic_mode mixed Mixed traffic Lines are used regularly by both passenger and freight trains mixed
passenger Passenger traffic Lines dedicated to passenger trains (might have some exceptions).
freight Freight traffic Lines dedicated to freight trains (might have some exceptions).
maxspeed <Maximum speed in kph>} Maximum speed The maximum permissible speed in a track section (in kph). For dynamic speeds (such as signals) the highest speed limit should be tagged. Speeds for directions can be defined by maxspeed:forward=* and maxspeed:backward=*.
maxspeed:tilting <Permissible speed kph>} Maximum speed for tilting trains Maximum speed for trains equipped with tilting system. Used mainly in curves, where tilting allows for greater maximum speeds. If this is dependent on other conditions, for example daylight, wind speed etc. enter the highest possible speed limit. Speeds for directions can be defined by maxspeed:tilting:forward=* and maxspeed:tilting:backward=*.
service Warning: Use tag service=* on all tracks, that are not main, that means for all sidings, crossovers, yard tracks, spurs etc.
yard Yard track Tracks mostly in railway stations used by railway companies for assembling and disassembling of trains. Mostly numbered (use railway:track_ref=* ).
siding Siding track Track parallel to main tracks, mostly in railway stations, used for overtaking. Often there are platforms next to them. Main tracks shouldn't be tagged by service=*.
spur Spurs Mostly short tracks leading from railway lines to industrial areas. When there are more complicated systems of spur tracks, consider using also other tags from category service=*.
crossover Crossover track Short tracks, that are used by trains to change from one main track to the other. To be found only on double or more tracked railways. Often found in stations and at (crossover) junctions.
railway:radio analogue/gsm-r Train radio Which radio system is used on this line? gsm-r
operator <operator_name> Operator The operator of the track (infrastructure, not train).
embankment yes/no Embankment Is the track elevated using earth or concrete dam? no
cutting yes/no Cutting Is the track set in lowered terrain? no
railway:preferred_direction Warning: The direction of OSM-ways DOES matter! This tag is important for routing, it tells the software which track of a multi-track line should be preferred. Not especially important in railway stations (allowed directions may change there).
forward Normal direction of running equal to OSM way The normal direction of running on this track is equal to the direction of the OSM way (for multi-track lines only).
backward Normal direction of running against OSM way The normal direction of running on this track is against the direction of the OSM way (for multi-track lines only).
both No preferred direction There is no preferred direction of running; trains on this track run in both directions. This tag is used for single-track lines. Multi-track lines with bidirectional traffic are tagged with forward oder backward.
railway:bidirectional Warning: The direction of OSM-ways DOES matter! This tag is important for routing, it tells us, whether it is possible to navigate this track in wanted direction. Not especially important in railway stations (allowed directions may change there).
regular Regular bidirectional operation The track is equipped with signalling in both directions and can see rail traffic in both directions.
signals Signalized wrong line operation Each track of a multitrack line is equipped with signalling only in one direction. Usually trains do not use the "wrong" track. Under special circumstances like construction works on the normal track, trains can take the "wrong" track running in the opposite direction.
possible Falschfahrt möglich Each track of a multitrack line is equipped with signalling only in one direction and the signals do not offer a possibility for trains to run on a track in the opposite "wrong" direction.
start_date <date> Date of inauguration The date at which a line (or a track) went into service. For information on its syntax, see start_date=*
end_date <date> Date of closedown The date at which a line (or a track) went out of service. More information on its syntax is, again, available end_date=*
incline up/down/<slope> Slope The slope (inclination) of track, in its direction. This tag can either carry a numeric value or up/down More information
railway:interlaced yes/no Gauntlet/interlaced track This track is part of a Wikipedia Gauntlet track on Wikipedia (also known as interlaced track). Please map all involved tracks as independent OSM ways. no
railway:passing_prohibited left/right/yes/both/no Passing prohibited Trains must not pass with other trains on the left/right/any/both neighbouring tracks on this section because there is not enough space between the tracks or the tracks are interlaced. no
workrules working rules Describes which working rules (usually a law) applies on this track. For possible values see workrules=*

Bridges

WayRelation Can be tagged as a way, in addition to be added to a Bridge Relation to represent the entire bridge.

Key Value Property Description Default value
bridge yes/cantilever/covered/movable/trestle/viaduct Bridge Type What kind of bridge carrying the track is. Remember to create separate ways and add them to a bridge relation if the bridge span has a movable bridge at the center. If none of the defined types, enter yes. no
bridge:movable bascule/lift/swing Movable Bridge Type Only tag this if the bridge is tagged as bridge=movable.
layer <layer> Layer To describe the vertical relationship to other bridges and features. 1
bridge:name <Bridge name> Bridge name The name of the bridge.
image <URL> Image The URL to an image of the bridge (If possible images from Wikimedia Commons should be used). Please only use for important bridge and not for small ones (e.g. crossing a small stream). In general it's considered useful to have an image, when there is a Wikipedia article about the bridge.
bridge:wikipedia <language code>:<article name> Wikipedia article Wikipedia article about the bridge, please use the format <language code>:<article name>

Tunnels

WayRelation

Key Value Property Description Default value
tunnel yes Tunnel The track is in a tunnel no
layer <layer> Layer To describe the vertical relationship to other tunnels and features. -1
tunnel:name <Tunnel name> Tunnel name Name of the tunnel
image <URL> Image The URL of an image of the tunnel (If possible, images from Wikimedia Commons should be used).
tunnel:wikipedia <language code>:<article name> Wikipedia article Wikipedia article about the tunnel, please use the format <language code>:<article name>

It is also possible to use a Tunnel Relation.

Switches

Node In OpenStreetMap, switches are connection points of two railway tracks. They are defined by the following tags:

Key Value Property Description Default value
railway switch Switch General tag for a railway switch. Without it, a crossing of two tracks might either be interpreted as a flat (passive) crossing or a slip switch.
ref <Switch> Reference Identifier/reference number of a switch. In many cases this will be written on the corresponding switch drive or switchpoint light.
railway:local_operated yes/no Locally Operated Is this switch operated locally (e.g.: manually through a lever), or rather remotely operated from a signal box? no
railway:switch:electric yes/no Electric drive Is this switch operated electrically (through some kind of switch drive)? yes
railway:radius <Divering track radius in m> The radius of the diverging track.
railway:maxspeed:straight <Speed> Permissible speed on the straight track The maximum permissible speed (in kph) on the straight track. If using miles per hour, prefix with mph:.
railway:maxspeed:diverging <Speed> Maximum permissible speed on the diverging track. The maximum permissible speed (in kph) on the diverging track.
railway:turnout_side left/right Side of Turnout Specifies on what side of the switch the new track branches out on. Unnecessary on Three-way, Wye, and Double Slip switches. For curved turnouts, this is typically the track with a smaller curve radius (a sharper curve).
railway:switch default Default switch Default switches with a straight and a curved track as well as curved switches. default
three_way Wikipedia Three-way Switch on Wikipedia A switch with two branching tracks, instead of the typical one.
single_slip Wikipedia Single Slip Switch on Wikipedia A combination between a switch and a crossover, but only provides a single switching direction. X-shaped points where you can go straight or curved from one track.
double_slip Wikipedia Double Slip Switch on Wikipedia A combination between a switch and a crossover, that provides switching in two directions unlike the Single Slip. X-shaped points where you can go straight or curved from either track.
wye Wikipedia Wye Switch on Wikipedia A switch where the trailing ends curve symmetrically away from each other.
abt Abt Switch In funiculars, an automatic switch that allows the cars to pass each other.
railway:switch:resetting yes/no Resetting switch Does this switch automatically resets to a default position?
railway:switch:configuration inside/outside Switch Blade Location Are the switch blades located on the inside of the switch or the outside (e.g.: Wikipedia Outside Slip Switch on Wikipedia.
railway:switch:movable_frog yes/no Movable Frog Is the frog movable (e.g.: in a Wikipedia Swingnose Crossing on Wikipedia) or fixed? no
railway:switch:heated yes/no Switch Heating Is the switch being heated at temperatures below 0°C to prevent freezing?

Crossings

Node A crossing is a place where two tracks cross each other at grade, without the option to switch track.

Key Value Property Description Default value
railway railway_crossing Crossing Crossings are points, where there are two tracks crossing each other. Use this on the joint node.

Derailers, Trap Points, Catch Points

Node A derailer is a device on a track to protect other tracks from an unauthorized movement by derailing it.

Key Value Property Description Default value
railway derail Derailer A device placed on a track to protect the track from unauthorized movement by derailing it. In the case where a derailer is physically at the same location as a signal (railway=signal), they cannot be placed on the same node, as they are the signal and derailer are both values of the same key.
railway:derail wedge derailer A wedge to derail vehicles which are placed in siding tracks and move unauthorized. Used in Germany and US.
trap_point trap point A Wikipedia switch without a frog on Wikipedia, used to derail trains with pass a stop signal. Used in UK, not in Germany.
catch_point catch point "Catch points used where track follows a rising gradient. They are used to derail (or "catch") any unauthorised vehicles travelling down the gradient." (Wikipedia Wikipedia on Wikipedia)
railway:local_operated yes/no Locally Operated Is this derailer operated locally (e.g.: manually through a lever), or rather remotely operated from a signal box? no
ref <designation> Designation The name/number of the derailer used by the railroad, which is often at its lever or actuator.

Buffer stops

Node A buffer stop prevents cars from rolling past the end of a track. In most cases this device should be tagged on the end node of a track, but there are also buffer stops in the middle of a track that should be mapped on their real position instead at the end of the track.

Key Value Property Description Default value
railway buffer_stop Buffer stop

Track clear detectors

Node Train detection systems for the use of block signalling, such as an axle counter or a track circuit. They should be mapped as a node on the track.

Key Value Property Description Default value
railway vacancy_detection Train clear detector A pair of devices located at the beginning and end of a signal block, with the purpose to detect the presence of a train in the block.
railway:vacancy_detection insulated_rail_joint Wikipedia Track Circuit on Wikipedia The electrical isolation of each signal block from each other and parallel rails. When the train passes over the block, the wheel and axle completes the circuit and energizes the signal relay. This should be mapped at the relay on one end, or where the electricity is supplied at the opposite end.
axle_counter Axle Counter Pair of devices used to compare how many axles enter and exit a signal block.

Railway territories

Area Areas used by railway companies such as stations, yards, etc.

Key Value Property Description Default value
landuse railway Railway territory Areas used by railway companies such as stations, yards, etc.

Level crossings

Node Level crossings are grade-level crossings of road and rail. Each crossing point is to be tagged by the following crossing tags:

Key Value Property Description Default value
Note: Level crossings no longer in use may be tagged by disused: and abandoned:. (Example: disused:railway=level_crossing).
railway level_crossing Level crossing A level crossing. In this scheme, there is no difference between road and footway crossings since there is not only often a smooth transition in between but also since this information can be derived from the ways involved.
crossing:barrier half/double_half/full/gate/yes/no Barriers Are there any barriers at this crossing (yes/no). Moreover the type of barriers can be stated as well: half boom gates, double half boom gates, full boom gates, gates (UK), any type of gate (yes), no barriers no
crossing:light yes/no Light signal Is there a warning light at the crossing? yes
crossing:saltire yes/no Saltire Does the crossing have saltires? yes
crossing:on_demand yes/no On-demand crossing Is this a level-crossing that is usually closed and is only opened on demand (German "Anrufschranke"). no
crossing:bell yes/no Audio warning Is there an audio warning, such as a bell? no
crossing:chicane yes/no Chicane Is there any barrier that forces pedestrians to look in both directions before reaching the actual tracks? (German Wikipedia) no
railway:position <Kilometer/Mile> Position Rounded position, such as 12.3. Might be depicted on signals or technical buildings next to the crossing. If using miles, prefix the number with mi:.
railway:position:exact <Kilometer/Mile> Exact Position Exact position of the level-crossing, such as 12.345. If using miles, prefix the number with mi:.
railway:ref <Number> Designation Internal designation of the crossing, not to be used for informal names or positions.
ref:fra_crossing <string> FRA Crossing Reference ID The code by which the Federal Railway Administration refers to this crossing by in their Crossing Inventory. Only applicable in the United States.
crossing:supervision no/camera/attendant/automatic/phone Type of supervision no supervision/camera/attendant/automatic (technical equipment which checks that no vehicles/persons remain on the tracks)/phone (used on on-demand crossings) no
crossing:activation automatic/remote/local Type of activation automatic (contacts)/remote (train director)/in field (attendant/train staff)
railway:level_crossing:closure:average average closure time average time the crossing stays closed
railway:level_crossing:closure:min <time in minutes> minimum closure time
railway:level_crossing:closure:max <time in minutes> maximum closure time

Small crossings

Node Small crossings are crossings of footways and rail inside train station for passengers. Each crossing point is to be tagged by the following crossing tags:

Key Value Property Description Default value
Note: Crossings no longer in use may be tagged by disused: and abandoned:. (Example: disused:railway=level_crossing).
railway crossing Level crossing A level crossing. In this scheme, there is no difference between road and footway crossings since there is not only often a smooth transition in between but also since this information can be derived from the ways involved.
crossing:barrier half/double_half/full/gate/yes/no Barriers Are there any barriers at this crossing (yes/no). Moreover the type of barriers can be stated as well: half boom gates, double half boom gates, full boom gates, gates (UK), any type of gate (yes), no barriers no
crossing:light yes/no Light signal Is there a warning light at the crossing? yes
crossing:saltire yes/no Saltire Does the crossing have saltires? yes
crossing:on_demand yes/no On-demand crossing Is this a level-crossing that is usually closed and is only opened on demand (German "Anrufschranke"). no
crossing:bell yes/no Audio warning Is there an audio warning, such as a bell? no
crossing:chicane yes/no Chicane Is there any barrier that forces pedestrains to look in both directions before reaching the actual tracks? (German Wikipedia) no
railway:position <Kilometer/Mile> Position Rounded position, such as 12.3. Might be depicted on signals or technical buildings next to the crossing. If using miles, prefix the number with mi:.
railway:position:exact <Kilometer/Mile> Exact Position Exact position of the level-crossing, such as 12.345. If using miles, prefix the number with mi:.
railway:ref <Number> Designation Internal designation of the crossing, not to be used for informal names or positions.
crossing:supervision no/camera/attendant/automatic/phone Type of supervision no supervision/camera/attendant/automatic (technical equipment which checks that no vehicles/persons remain on the tracks)/phone (used on on-demand crossings) no
crossing:activation automatic/remote/local Type of activation automatic (contacts)/remote (train director)/in field (attendant/train staff)
railway:level_crossing:closure:average <time in minutes> average closure time average time the crossing stays closed
railway:level_crossing:closure:min <time in minutes> minimum closure time
railway:level_crossing:closure:max <time in minutes> maximum closure time

Electrification System Change

Node For electrified railways, in addition to the tags the tracks of each electrical system get, you can also map a node for the transition point between systems.

Key Value Property Description Default value
railway isolated_track_section Systemtrennstelle/Schutzstrecke The point where two different electrical sections meet. This can be either at a substation within the same electrical system, or between electrical systems. (e.g.: between Amtrak's 25Hz system and their 12.5kV 60Hz system.)

Operator Boundary

Node The point where the operator of a track changes (e.g. at sidings or connections between private railway companies and the national railway company.

This tag has been used for owner changes at country borders until end 2014/early 2015.

Key Value Property Description Default value
railway owner_change Operator change point The point where two different operators meet each other. This implies a change in ownership of the Right of Way.
railway:name:<operator 1> <Name> Boundary Name The name of this boundary point as referred to as one of the railway operators.
railway:name:<operator 2> <Name> Boundary Name The name of this boundary point as referred to as the other railway operator.
railway:ref:<operator 1> <Abbreviation> Reference Name The internal reference name for this boundary point as referred to as one of the railway operators. This is often an abbreviation of the above names.
railway:ref:<operator 2> <Abbreviation> Reference Name The internal reference name for this boundary point as referred to as the other railway operator. This is often an abbreviation of the above names.


Operator abbrevations are derived from the common abbrevations (DB, ÖBB, CFL, NS, SNCF, FS, PKP, …) as defined in Vehicle Keeper Marking Register. All these abbreviations are written uppercase!

System border at country border

Node The point where the operator of a track changes due to a country border. This is usually a more significant change than owner changes inside a country because the law changes, too.

If the system and owner change is exactly the same point as the country border, the owner change node is connected both to the railway track and the border.

Key Value Property Description Default value
railway border system boundary The point where two different railway systems meet each other. This implies a change in ownership of the Right of Way.
railway:name:<operator 1> <Name> Boundary Name The name of this boundary point as referred to as one of the railway operators.
railway:name:<operator 2> <Name> Boundary Name The name of this boundary point as referred to as the other railway operator.
railway:ref:<operator 1> <Abbreviation> Reference Name The internal reference name for this boundary point as reffered to as one of the railway operators. This is often an abbreviation of the above names.
railway:ref:<operator 2> <Abbreviation> Reference Name The internal reference name for this boundary point as reffered to as the other railway operator. This is often an abbreviation of the above names.

Operator abbrevations are derived from the common abbrevations (DB, ÖBB, CFL, NS, SNCF, FS, PKP, …) as defined in Vehicle Keeper Marking Register. All these abbreviations are written uppercase!

Signals

Kilometer Signs/Mileposts

Node Signs designed to measure the length of a railway line. They should be entered as nodes on the tracks themselves. If the railway line has more than one track, it should be entered on each track. Only through tracks should be tagged, as that is what the signs measure (e.g.: do not tag sidings).

Key Value Property Description Default value
railway milestone Unit Sign Sign or post for measuring the length of a railway line.
railway:position <Value of sign, such as 40.6> Milepost Value Rounded number displayed on the sign, separated with .. In Germany, for example, this is the number, a decimal point, and then the first digit of the lower number. Negative values are permitted. If using miles, prefix the number with mi:.
railway:position:exact <Value of sign, such as 40.625> Exact Milepost Value Exact number displayed on the sign, separated with .. In Germany, for example, this is the number followed by a decimal point, and then a 3-digit number in the lower corner. Negative values are permitted. If using miles, prefix the number with mi:.
railway:milestone:emergency_brake_override yes/no Emergency Brake Override Is there a mark on the sign to indicate changes to Emergency Brake usage? (e.g.: In Germany, this is an orange band.) no
railway:milestone:emergency_brake_override:direction forward/backward Direction of Emergency Brake Override The direction of the OpenStreetMap way for which the mark applies. no
railway:milestone:catenary_mast yes/no Catenary Pole Is the milepost attached to a catenary Pole no

Signals

Node Signals are tagged as a point on the track. So it is clear which track they belong to. It is recommended to see country-specific tagging to use the specific tagging scheme for your country.

Important Hint: If a signal is tagged between two OSM-ways, both ways have to have the same direction. So it is possible for applications to detect the correct position.

Key Value Property Description Default value
Note: Disused and abandoned signals can be mapped by adding disused: or abandoned:. (Example: disused:railway=signal).
railway signal signal a signal
ref <signal designation> signal designation The name or designation of a signal.
railway:position <distance value, such as 40.6> distance The rounded distance position of a signal. If using miles, prefix the number with mi:.
railway:position:exact <distance value, such as 40.625> exact distance The exact (three-place) distance position of a signal. If using miles, prefix the number with mi:.
railway:signal:position left/right/bridge/overhead/in_track location Indicates the location of the signal in references to the track. bridge means the signal is located on a signal gantry overhead the track. left or right determines on which side of the track the signal is located in reference to the way direction in OpenStreetMap. overhead means a signal is attached to the catenary and in_track is intended for signals in the midle of the track - such as one attached to a buffer stop.
railway:signal:direction forward/backward/both direction of displaying Determines how you have to drive to have a view on the signal. Values are in reference to way direction in OpenStreetMap.
railway:signal:catenary_mast yes/no catenary mast Is the signal attached to a catenary mast? yes

These tags really only describe a single signal location. The tags below can be used to specify what type of signal it is:

The tagging scheme for signals is designed to use as few tags as possible.


The tag structure for signals is as follows:

railway:signal:CATEGORY=TYPE

for the exact type of signal and property:

railway:signal:CATEGORY:PROPERTY=VALUE

List of signal categories:

Type Name Description
main Main signal A signal that gives the permission to enter a station, leave a station or enter the next block section of a track. A main signal controls mainline and shunting movements and indicates the clearness of a track up to the next signal.
main_repeated Duplicated signal A signal to indicate the state of the main signal. Not to be confused with a Distant signal.
distant Distant signal A distant signal is placed at braking distance from a main/combined signal and indicates the aspect of the following signal to ensure that a train can stop before reaching the main/combined signal.
minor Minor signal A signal with a lower priority than main signal. In most cases they are used inside stations to protect occupied sections or control low speed (shunting) movements. It does not require any distant signal and applies to both mainline and shunting movements.
minor_distant Minor Distant signal A Distant signal for Minor signals.
combined Combined signal A signal that combines the function of a main and a distant signal. It indicates the state of the next two block sections and is valid for all train movements.
shunting Shunting signal A signal that controls low speed shunting movements inside stations. It does not apply to mainline movements.
crossing Level crossing signal A signal that indicates that the technical equipment (lights, barriers, bells) of a level crossing is active to warn automobile drivers about an approaching train.
crossing_distant Level crossing distant signal A signal which notifies the train driver to attend a level signal which will follow.
crossing_info Level crossing marker board A signal which describes the level crossing. It is usually mounted next to the level crossing and shows information like the current position (kilometre/miles) or the crossing number.
crossing_hint Level crossing announcement board A signal which notifies about a level crossing he will reach soon.
electricity Catenary signal A signal for electric locomotives indicating when and where the pantograph or other collector needs to be lowered. (e.g.: between different electrical systems.)
humping Hump yard signal This signal controls the speed of locomotives pushing cars towards the hump.
speed_limit Speed Limit indicator A signal that displays the maximum permissible speed in a track section.
speed_limit_distant Distant Speed Limit indicator A signal indicating an upcoming speed limit change.
whistle Horn signal A signal indicating the operator should use the horn.
ring Bell signal A signal indicating the operator should use the bell.
route Route indicator A signal that indicates the set up route.
route_distant Route Change Distant A signal indicating an upcoming route indicator.
wrong_road Wrong Road signal A signal indicating the movement to a track that normally would have traffic in the oncoming direction.
stop Stop post / Stop Board In general, this signal marks a position on a track, where a train needs to stop. In most cases it indicates the position where a passenger train should stop at a platform. On branch lines with simplified operational rules, this signal may also be used to mark a position where a train has to stop to wait for a permission to proceed.
stop_demand Stop-on-demand indicator A signal at small halts that is operated by waiting passengers to visualize their demand for a stop of the next train.
station_distant Upcoming Station A signal indicating an upcoming station.
radio Radio Change A signal providing instructions on radio usage.
departure Departure signal A signal indicating that a passenger train is ready to leave the station.
resetting_switch Resetting Switch signal A signal indicating the status of a resetting switch.
resetting_switch_distant Resetting Switch Distant A signal indicating an upcoming resetting switch.
snowplow Snowplow signal A signal that give instructions to vehicles with a snowplow. In most cases they are placed to warn the crew to raise the snowplow to avoid hitting any obstructions such as level crossings or bridges.
short_route Short entry indicator A signal which shows the train driver that he has to stop earlier than usual (usual = exit signal). Used if the train drives into a dead-end signal or joins another train.
brake_test Signal used for break tests This signal supports the communication between the train driver and the personnel checking the breaks.
fouling_point Clear-of-points marker/Track contact marker A signal that indicates up to which limit a track may be occupied to avoid collisions and malfunctions of signals and switches.
helper_engine Signals related to helper engines A signal giving instructions for helper engines at steep railroad lines (e.g. in mountain areas).
train_protection Signals related with train protection system topics Signals of this category show beginning/end of railway sections with a specific or any train protection system. This category also covers the signals (usually signs) mounted along railway lines with cab signalling. This section has been replacing the old sections lzb and lzb_start since 2014.
steam_locomotive Signals related to steam locomotives Signals that give instructions to the staff of steam locomotives.

List of signal properties:

Property Name Description
<user defined> Signal Name or Abbreviation The country-specific name or abbreviation of a signal. When unknown, even yes can be entered, with more specific tagging being preferred. To prevent ambiguities, the code should be prefixed with a country code according to ISO 3166-2 (e.g.: US:<name>). If no uniform naming system is in place in a country, the generic name for this signal should be used in lowercase. Example: railway:signal:main=AT:hauptsignal, railway:signal:main=DE:hp, or railway:signal:main=US:main.
form Display/Style The physical format of the signal: (semaphore), (light) or (sign).
deactivated Signal Activity Is the signal still operational? Either (yes) or (no).
height Signal Height Height design of signal: either (dwarf) or (normal). Alternatively, you can specify the exact height measurement.
states Signal Aspects For variable signals, a list of possible signal aspects, each separated by a semicolon (e.g.: clear;aproach_limited;limited_clear;approach_medium;...).
shortened Shortened Braking Distance Is the signal placed closer than usual to the next signal? Either (yes or no).
repeated Repeater signal When a main/combined signal is not visible from distance (e.g. because of track curves), a repeater is installed to repeat the aspect of the main/combined signal. Use yes to mark these signals, otherwise use no or omit this tag.
frequency Frequency When activated, the frequency reading of the signal in Hertz (Hz).
voltage Voltage When activated, the voltage reading of the signal in Volts (V).
speed Signal Speed The displayed signal speed in Kilometers/Hour. For values in Miles/Hour, it is necessary to prefix it with mph.
function Signal Function The exact function of the signal, such as an Entry Signal (entry), Exit Signal (exit), Block Signal (block) or Intermediate Signal (intermediate). In the past, the deprecated value between was used for intermediate signals.
caption Additional Text Additional text specified on a signal. This tag was merged with the deprecated description, which was in use until 2014.
marker_light Marker Light Does the signal have a special light to show that it temporarily is invalid? Either (yes or no). Deprecated and moved to DE:OpenRailwayMap/Tagging in Germany.
only_transit Valid only for Passing Trains Does the signal only apply to trains that go through the following breakpoint/station? Either (yes) or (no).
substitute_signal Substitute Signal A signal added to another signal, and indicates the behaviour in cases of failures of the actual signal. Also known as caution signal. For example the train may pass the signal at low speed and must be prepared to stop at any obstacle. Either (yes) or (no).
twice Double Signal Is the signal instruction to be carried out twice? Either (yes or no).
type Subtype or order The subtype of a signal or what has to be down at/after this signal.
for Vehicle type Specifies for which types of vehicles this signal is valid. This can be multiple units (multiple_unit) or locomotives (locomotive). This tag can also be used for specifying locomotive classes or the type of traction (steam, diesel, electric, ...).

For specific tagging of certain signals in a specific country, refer to the Country-specific tagging section. These pages are currently a work-in-progress.

Interlocking

Signal box

NodeArea Signal boxes can be mapped as either a node of an area.

Key Value Property Description Default value
Note: Disused and abandoned signal boxes can be mapped by adding disused: or abandoned:. (Example: disused:railway=signal_box).
railway signal_box Interlocking A railway building where railway traffic is controlled via signal commands. Easily recognizable by their tower-like appearance, with a sign or label on the outside. Becoming less used as signal control is centralized.
railway:signal_box mechanical Mechanical Interlocking A mechanical interlocking system where signals are operated mechanically with levers.
electric Electrical/Electromechanical Interlocking An interlocking system that controls the signals electrically, regardless if the signals themselves are electrical or mechanical.
track_diagram Track Diagram Interlocking An interlocking system where a diagram of the track it covers is mapped on a large display panel, and switches or buttons are placed in correspondance to signal position on the map. In North America, this is usually done through a centralized dispatching office and called Centralized Traffic Control, or CTC.
electronic Electronic Interlocking A fully computer-controlled interlocking system. The job is either done automatically or through a logic software run by a computer.
name <interlocking name> Interlocking Name The name of the interlocking. For example, for German Interlockings, it could be "Neuss Ngf" or "Holzheim ESTW-A".
railway:ref <Interlocking Reference> Interlocking Code The railway interlocking abbreviation. For example, "BROOK" for BROOK Interlocking.
operating_times <syntax like opening_hours=*> operating times When is the signal box manned (i.e. when do employees interlock switches and signals)?
start_date <date> Date of opening Date the Interlocking Tower was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the Interlocking Tower was taken out of service. For formatting, see end_date=*.
railway:position Value Position See Milepost section above.
railway:position:exact Value Exact position See Milepost section above.
image <URL> Image The URL of an image of the interlocking, from (am besten von Wikimedia Commons).
railway:local_operated yes/no Locally Operated Is the Interlocking Tower operated manually by an employee, or controlled automatically from somewhere else? yes
building yes Building Is the interlocking mapped as an area?

Interlocking range

Relation In addition, a relation is created for each interlocking. This is to cover the area controlled by the Interlocking Tower.

Key Value Property Description Default value
type railway railway relation Flags this relation as being a railway relation.
railway interlocking Control Area A relation that captures the area in which the Interlocking Tower controls. (The tag railway=controlled_area is deprecated)
name <interlocking name> Interlocking Name The name of the interlocking.
railway:ref <interlocking reference> Interlocking reference The abbreviation or reference code for the interlocking.

In the relation itself, the following members should be included:

Role Count Feature Description
<empty> 1 Interlocking Tower The Interlocking Tower shouldn't be given a role, but should be included.
facility >=1 Operating Points Operating Sites's relations should be given this role.. See the explanation of what they are if you are unsure what this means.
signal_box >=0 Remote Interlockings Other interlockings (with their relation) that are controlled by this interlocking tower should be given this role., as they are part of this interlocking's control area.
crossing >=0 level_crossings Level Crossings that are controlled by the Interlocking Tower should be given this role.. Do not include manually operated or fully automatic level crossings here.
signal >=0 Signal Signals controlled by the interlocking should be given this role.
switch >=0 Switch Switches controlled by the interlocking should be given this role.

Crossing box

NodeArea Crossing boxes can be mapped as either a node of an area (the building). Crossing boxes are buildings where crossing keepers (also known as crossing attendants) stay. We do not map if a level crossing is staffed temporarily because it is defect.

Key Value Property Description Default value
Note: Disused and abandoned crossing boxes can be mapped by adding disused: or abandoned:. (Example: disused:railway=crossing_box).
railway crossing_box Crossing box A railway building where the crossing attendant stays. This buildings are usually one or two levels high and next to the level crossing because the attendant has to observe it.
name <crossing (box) name> Crossing (Box) Name The name of the crossing box.
operating_times <syntax like opening_hours=*> operating times When is the crossing box manned (When do employees close the gates if a train approaches? When do train drivers not have to close the gates by theirselves?)?
start_date <date> Date of opening Date the crossing box was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the crossing box was taken out of service (e.g. due to closure of the level crossing or installation of automatic barriers. For formatting, see end_date=*.
railway:position Value Position See Milepost section above.
railway:position:exact Value Exact position See Milepost section above.
image <URL> Image The URL of an image of the interlocking, from (am besten von Wikimedia Commons).
building yes Building Is the crossing box mapped as an area?

Block Post

NodeArea Block posts is a signal box building, where a railway employee manually operates block signalling. Block posts are mapped as a node or an area (the building).

If the employee also operates a level crossing, its building is mapped as a block post, not as a crossing box.

Key Value Objekt Beschreibung Standardwert
Note: Disused and abandoned block posts can be mapped by adding disused: or abandoned:. (Example: disused:railway=blockpost).
railway blockpost block post A building where the railway company employee works. It is a signal box. Ein Bahngebäude, in dem sich der Blockwärter aufhält und den Streckenblock bedient. This buildings are usually one or two levels high. They are often not in the near of level crossings.
name <block post name> block post name The name of the block post.
operating_times <syntax like opening_hours=*> operating times When is the signal box manned (i.e. when do employees interlock switches and signals)?
start_date <date> Date of opening Date the crossing box was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the block post was taken out of service (e.g. due to removal of the block signals or installation of automatic block signalling. For formatting, see end_date=*.
railway:position Value Position See Milepost section above.
railway:position:exact Value Exact position See Milepost section above.
image <URL> Image The URL of an image of the interlocking, from (am besten von Wikimedia Commons).
building yes Building Is the block post mapped as an area?

Operating Sites

For English speakers, there is no real equivalent for the German term "Betriebsstelle", or Operating Sites. Since this scheme is made by Germans, it is important for mappers to understand what it means. "Betriebsstelle" in German is a railway engineering term that refers to locations on the railroad where special infrastructure is installed; this means Junctions, both Freight and Passenger Stations, among other things described in the section below. From herein, the word Betriebsstelle will not be used.

Operating Sites are to be mapped as a node in the center of the site. Optionally (though recommended for information's sake), a relation can be used to encompass the entire site, which is described in the section below.

An overview for the way Operating Sites should me mapped is included below:

  • The purpose of including Operating Sites is that they are needed in positioning a label on the map, to be used as a destination for routing applications, or to be used as a search result.
    • Normally, it is mapped as a node at the geographical center of the Operating Site.
    • Since the point of the node is for routing purposes, it can be acceptable to map the node somewhere else if placing it at the geographical center of the Operating Site will have adverse affects. Example: The geographical center is in the middle of water or a forest, or other such area.
  • When mapping the area of the Operating Point through the appropriate relation, use the following standards:
    • Track towards an Operating Point (in the case of a Station) should start at the entry signals, signs on the track announcing the station, or the switch it originates from. For non-stations, use analogous landmarks to determine this.
      • In North America, knowing where to differentiate this could be a bit nebulous. Still, try and keep with the logic structure.
    • For the area perpendicular to the track(s), the outer limits should the boundary of the railway property.
    • At least tracks, platforms, engine sheds, station buildings, signal facilities, and loading facilities should be included. Other facilities such as parking can be added at discretion of the mapper.

Additionally, you should map Stop Positions. These are then included in the aforementioned Operating Site relation. Interlockings are not Operating Sites.

Milepost information is not to be included in the Operating Site relation.

Operating Site Types

Stations / Stops

Node Tag the using node in middle of the station/halt, NOT on the way representing the track.

If a station is composed of two or more operational independent stations (e.g. two companies' station side-by-side, strictly separated, they should be mapped as two stations, each one should have its own node. For example, see Berlin Zoologischer Garten (S-Bahn/light rail in the north-west and heavy rail in the south-east). Stations which are operational part of another (mostly large) station are mapped as independent station and connected to their parent station using operation site relations. For example, see Köln Hansaring, which belongs to Köln Hbf (Cologne Central Station).

Key Value Property Description Default value
Note: Disused or abandoned stations can be mapped using disused: and abandoned: (For exmple: disused:railway=station).
railway station Station Place with at least one switch, where trains begin, end, cross, turn, end etc. Used for all stations with access for passengers. This can be passenger-only stations, but also stations that are used for passenger traffic and freight traffic or internal purposes.
halt Halt Use this for railway "stations", that don't have any switches. Can be difficult to decide, whether to use halt or station. For that decision, mind presence of station building or see official name of the "station".
tram_stop Tram stop Stop point for trams.
subway yes Subway station This is a subway station. The tagging scheme does not have a distinction between train and subway stations. no
public_transport station Station Use this for tagging using the new public transport scheme Public-Transport-Schema. Only stations with passenger transport are described in this scheme.
name <station name> Station name Name of the station. Use the name on the signs on the station building or at platforms, for example "Köln Hbf".
railway:ref <station code> Station Code The code used for the station. In North America, this might be something like NYP for New York Penn Station or OSB for Old Saybrook Station if it's an Amtrak station. In Germany, the Ril 100 code would be something like KN for Neuss Hbf. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
uic_ref <numberr> UIC reference number Number of the station according to UIC.
uic_name <name> UIC name Name of the station according to UIC.
railway:station_category <station_category> Sttion category Category of the station, in Germany see Details.
operator <operator_name> Operator Operator of the station.
network <network_name> Network Name of the network the station belongs to.
operating_times <syntax like opening_hours=*> operating times When is the station manned (i.e. when do employees interlock switches and signals)? This tag does not cover opening hours of ticket counters.
start_date <date> Date of opening Date the station was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the station was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the station (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the station in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:London King's Cross railway station".
Marshalling Yard/Classification Yard/Freight Yard/Freight Station

Node Essentially, a railway station used only for freight. It should be mapped at the center of the facility, NOT on the way representing the track.

Key Value Property Description Default value
Note: Disused or abandoned stations can be mapped using disused: or abandoned: (For example: disused:railway=yard).
railway yard Freight Yard Essentially, a railway station for freight. This includes yards that don't involve the loading or unloading of freight.
name <name> Name The full name of the freight yard, such as Oak Point Yard.
railway:ref <yard code> Yard Code The reference code for the yard (see also passenger stations). Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the yard.
operating_times <syntax like opening_hours=*> operating times When is the freight station manned (i.e. when do employees interlock switches and signals)?
start_date <date> Date of opening Date the yard was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the yard was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the yard (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the yard in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Oak Point Yard".
Employee Station

Node A railway station used by railway employees only, and is not normally accessible by passengers of freight traffic. Often, these are for maintenance facilities, but there are a number of other uses. It should be mapped at the center of the station, NOT on the way representing the track.

Key Value Property Description Default value
Note: Disused or abandoned stations can be mapped using disused: or abandoned: (For Example: disused:railway=service_station).
railway service_station Employee Station A railway station only used by railway employees
name <name> Name Name of the station.
railway:ref <station code> Station Code The code used for the station. In North America, this might be something like NYP for New York Penn Station or OSB for Old Saybrook Station if it's an Amtrak station. In Germany, the Ril 100 code would be something like KN for Neuss Hbf. Abbrevations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the yard.
operating_times <syntax like opening_hours=*> operating times When is the station manned (i.e. when do employees interlock switches and signals)?
start_date <date> Date of opening Date the station was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the station was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the station (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the station in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:London King's Cross railway station".
Junctions

Node The junction between two railways. It should be mapped at the center of the station, NOT on the way representing the track.

Key Value Property Description Default value
Note: Disused or abandoned stations can be mapped using disused: or abandoned: (For Example: disused:railway=junction).
railway junction Railway Junction A place on a railway where another route branches off of it.
name <name> Name Name of the junction.
railway:ref Junction Code The reference code the railway uses to refer to the junction. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the junction.
start_date <date> Date of opening Date the junction was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the junction was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the Junction (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the junction in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Fresh Pond Junction".
Crossover

Node A crossover is a pair of switches that allows trains to transfer to parallel track of a multitrack line or from a single track section to a double track section of the same line. It is mapped as a node in the center of the crossover facility, but not as a node on a track.

Way Additionally the crossover track is being tagged with service=crossover to mark its function.

Key Value Property Description Default value
Note: Disused and abandoned crossover can be mapped by adding the prefix <code>disused: or abandoned: (example: disused:railway=crossover).
railway crossover Crossover A pair of switches that allows a train to switch to a parallel track.
name <name of crossover> Name of crossover The name of a crossover.
railway:ref Crossover Code The reference code the railway uses to refer to the crossover. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the crossover.
start_date <date> Date of opening Date the crossover was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the crossover was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the crossover (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the crossover in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Fresh Pond Junction".
Sidings

Node A siding is a operting site, where a spur forks from a railway line.

Key Value Property Description Default
Note: Disused and abandoned sidings can be mapped by adding the prefix <code>disused: or abandoned: (example: disused:railway=spur_junction).
railway spur_junction siding The position where a spur forks from a main line.
name < name of the siding> name of the siding name of the siding
railway:ref Siding Code The reference code the railway uses to refer to the siding. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the siding.
start_date <date> Date of opening Date the siding was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the siding was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the siding (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the siding in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Fresh Pond Junction".
Other Operating Sites

Node Any Operating Site not covered above (e.g. movable bridges). Note that Interlocking Towers ARE NOT Operating Sites. It should be mapped at the center of the site, NOT on the way representing the track.

Key Value Property Description Default value
Note: Disused or abandoned stations can be mapped using <code>disused: or abandoned: (For Example: disused:railway=site).
railway site Railway Site An Operating Site. Note that Interlocking Towers ARE NOT Operating Sites.
name <name of crossover> Site Name The name of the site.
railway:ref Site Code The reference code the railway uses to refer to the site. Abbreviations used by companies other than the operator can be tagged using railway:ref:(company)=*.
operator <operator> Operator The operator of the site.
operating_times <syntax like opening_hours=*> operating times When is the operating site manned (i.e. when do employees interlock switches and signals)?
start_date <date> Date of opening Date the site was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the site was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the site (If possible, images from Wikimedia Commons should be used).
ele <number> Elevation Elevation of the site in metres.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Fresh Pond Junction".

Stop positions

Node This is not neccisarily required, but can help routing significantly in the absence of other information. If you know where they are, map them. Tagging is based off of the Public Transport Schema, but was expanded to cover non-public transit as well. This should be mapped as a node ON the way of the track.

On stations and halts (whether with or without passenger trains stopping there) every track which may be tagged with usage=* should get a node with railway=stop. In addition, every track with a platform should get a node with railway=stop. If there is a node with public_transport=stop_position already, add railway=stop to this node.

On sidings one node per track before and after the siding should be tagged with railway=stop. The same applies for crossovers.

You can use following tags for stop positions:

Key Value Property Description Default value
public_transport stop_position Stop Position Defines this point as a stop position of the vehicle (locomotive). In Stop Positions without public transport, this tag is not used.
railway stop Stop Position Defines the stop position of the locomotive. If public transportation, use this in addition to the above tag.
name <name> Name The name of the stop position, such as <code>Locust Manor or Köln-West.
railway:ref <Stop Position Code> Abbreviation The code used for the station. In North America, this might be something like NYP for New York Penn Station or OSB for Old Saybrook Station if it's an Amtrak station. In Germany, the Ril 100 code would be something like KN for Neuss Hbf.
operator <operator> Operator The operator of the holding position.
network <network name> Network The railway network the holding position is part of.
uic_ref UIC-Code The UIC (International Union of Railways) Code for this stop position.
uic_name <name> UIC-Name The UIC (International Union of Railways) Name for this stop position.
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
railway:position Value Position See Milepost section above.
railway:position:exact Value Exact position See Milepost section above.

Operating Site (Relation)

Relation The associated components of an Operating Site, such as platforms, buildings, and stop positions. The tagging is based off of stop_areas in the Public Transport Schema, but is extended to cover non-public transit Operating Sites.

Interlockings are not Operating Sites.

Key Value Property Description Default value
railway facility Operating Site General tag for Operating Site relations.
type public_transport Public Transport Describes this relation as a public transport relation. Only necessary if it is public transportation.
public_transport stop_area Stop Area Defines this relation as a stop area. Only necessary if it is public transportation, and used with the above tag.
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 Operating Site for a railway? no
light_rail yes/no Light Rail Is the Operating Site for light rail? no
subway yes/no Subway Is the Operating Site for a subway? no
tram yes/no Tram Is the Operating Site for a tram? no

In this relation, the following members should be included:

Role Count Feature Description
stop >1 Stop Position At least one stop position should be included.
platform >=0 Platform If present, platforms should be included.
subway_entrance >=0 Subway Entrance If present, subway entrances should be included.
landuse 0-1 Operating Site Property The physical area the Operating Site can be included. This should be a single area mapped with the tag landuse=railway.
building >=0 Buildings Any buildings part of the Operating Site should be included. Usually, this is the station building.
<empty, no role> 1 Operating Site Node The node of the Operating Site must be included. Leave the role field empty even if JOSM warns you.

Railway lines

Railway Lines are mapped with relations, and split between three categories that should not be mixed up: infrastructure, railway route, and train route. Infrastructure is based around the physical tracks. These are often expressed as branches for smaller lines, and in North America for larger lines, are often called Subdivisions. Another type is the railway route, which is the route of operation of trains (plural) over the infrastructure. The last relation is the train route, which is the route a specific train will take over the aforementioned railway route, showing in order the standard tracks it will take and where it will stop.

Railway Line

Relation The physical railroad on which trains operate. Way direction is not required (<code>key:oneway should not be on the ways), and ways do not have to be added as members in any specific order. Only tracks are to be included in this relation. Only the mainline should be included, with sidings and spurs being excluded.

Key Value Property Description Default value
type route Route Indicates this relation is a route.
route tracks Railway Line Indicates that this route is of a Railway Line.
name <Name> Name Name of the Railway Line. In North America, these are usually suffixed with "Subdivision" if they are a mainline, or "Branch" or "Secondary" if they aren't mainlines.
operator <operator> Operator The operator of the Railway Line.
ref <code> Code A code used internally by the Railroad to refer to this Railway Line. Included because Germany has such a system.
from <city> Beginning City The city where the Railway Line begins in. If the line is a spur and only connects to another Railway Line at one end, that city should be the "from" city.
to <city> Ending City The city where the Railway Line ends at.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:River Subdivision (Canadian Pacific Railway)".
historic railway Historic Railway Line Is this railway line historic (not currently considered this)? This does not necessarily mean the tracks are nonexistent, as it can also indicate parts of this line were used to create a new line. no
abandoned yes/no Abandoned Railway Line Were the tracks of this right-of-way removed? If so, please use the above key historic=yes as well. no

Railway Route

Relation Railway Routes are the route of operation of trains over a Railway Line. Way direction is not required (key:oneway should not be on the ways), and ways do not have to be added as members in any specific order. Only tracks are to be included in this relation. Only the mainline should be included, with sidings and spurs being excluded.

Key Value Property Description Default value
type route Route Indicates this relation is a route.
route railway Railway Route Tag, das die Relation als Eisenbahnroute klassifiziert.
name <Name> Name Name of the Railway Route.
ref <code> Code A code used internally by the Railroad to refer to this Railway Route.
from <city> Beginning City The city where the Railway Route begins in.
to <city> Ending City The city where the Railway Route ends at.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Empire Builder".
historic railway Historic Railway Route Is this railway route a former route? no

Train Route

Relation The tagging scheme here is designed to be compatible with the Public Transport Schema. A distinction is made about the above mentioned railway routes, and train routes.

A train route (route=train), as opposed to a railway route (route=railway), only describes the movement of a train in a single direction. It combines the all of the ways, stop positions, and Operating Sites the a train would encounter in its driving history on an average run.

Every stop is recorded with two members in the relation: First, the stop position with the role stop, followed by the corresponding platform(s) with the role platform.

Stop positions and platforms that only serve for entry or exit should have their roles entered as stop_exit_only, stop_entry_only or platform_exit_only or platform_entry_only.

Stop positions and platforms where trains only stop on demand should have their roles entered as stop_on_demand or platform_on_demand.

All relation members should be added in the order of traffic. This includes ways and stop positions. This is important to how OpenRailwayMaps will render them. Roles for ways can be assigned at the mapper's discretion.

The relation can have the following tags:

Key Value Property Description Default value
type route Route Indicates this relation is a route.
route train Train Route Is this Train Route for a train?
light_rail Light Rail Route Is the Train Route for light rail?
subway Subway Route Is the Train Route for a subway?
tram Tram Route Is the Train Route for a tram?
service high_speed High Speed Train Trains that travel long distances at high speeds. For purposes of having a universal standard in tagging, high-speed is defined by the European standard of 200 km/h or 124 mph. In North America, the only high-speed train is the Acela Express, although MARC commuter trains in Maryland use infrastructure and equipment that can exceed 200 km/h. In Germany, these would be the ICE, Thalys, the TGV, and Railjet.
long_distance Long-Distance Train Long distance trains that travel long distances. Slower than high-speed trains and also have more stops, but still travel further and faster than regional trains. A standard to go by is longer than 800km or 500mi, but this is a more nebulous category. In North America, these would be cross-continent trains like the California Zephyr, Southwest Chief, or Empire Builder. In Germany, these would be EuroCity and InterCity.
regional Regional Train Regional trains in regular service that travel regional distances. Faster and longer distance than commuter trains. A standard to tag this by would be what isn't long enough to really be long-distance, but is also not a commuter line. In North America, this would be trains like the Downeaster or Illinois Zephyr. In Germany, this would be Regional-Express or Regionalbahn.
commuter Commuter Train Local trains that have frequent schedules to satisfy the needs of work commuters. In North America, this is largely state-run or city-run services for connecting a metropolitan area to its central city. Usually have a large amount of stops. In North America, this would be trains like Metrolink in Southern California or MARC in Maryland. In Germany, this would be the S-Bahn.
car Motorail Long-distance trains that can carry automobiles. In North America, the only service in this category is Amtrak's Auto Train.
car_shuttle Car Shuttle Train Not to be confused with the above Motorail, Car Shuttle Trains are generally used to connect two places not readily accessible by road that are only moderately far from each other.
night Night Train Long-distance trains that operate primarily at night, with sleeping accomidations. In Germany this is the DB Euronight or City Night Line.
tourism Tourist/Heritage Railway Trains run for the purpose of tourism, often to preserve the history of the past. These may be operated fully profitable tourist ventures, or be run by not-for-profits like a [[#Railway museums|Railway Museum]. In North America, these are prevalent, most often being former railways that would have otherwise been abandoned. Examples include the Valley Railroad, the Nevada Northern Railway, or the Strasburg Rail Road. In Germany, an example would be the Achensee Railway.
name <name> Name The name of the train route. This ideally should be written as the reference code, destination, and name. Example: "RE7 Rheine Rhein-Münsterland-Express", or "AT, Jamaica, City Terminal Zone".
operator <operator> Operator The operator of the route.
ref <code> Reference Code The reference code used for the route, such as "RE7", "AT", "HP", or "NYP".
from <city> Beginning City The city where the train begins.
to <city> Ending City The city where the train ends.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Empire Builder".
color <color/hexadecimal> Line Color If applicable, the color the operator uses for the route, in a (basic) color name, or hexadecimal web color.
text_color <color/hexadecimal> Text Color If applicable, the color the operator uses on the text for the route, in a (basic) color name, or hexadecimal web color.

The individual train routes are summarized by being members of a route_master relation. This can often be just two train routes, one in each direction, but there are also many cases where there can be three or more routes under the same service name (for example, there might be additional stations beyond the typical endpoint served less frequently by the same service). The Route Master should be tagged with the following:

Key Value Property Description Default value
type route_master Route Master Defines the relation as route_master.
route_master train Train Route Is this Route Master for a train?
light_rail Light Rail Route Is the Route Master for light rail?
subway Subway Route Is the Route Master for a subway?
tram Tram Route Is the Route Master for a tram?
service high_speed High Speed Train Trains that travel long distances at high speeds. For purposes of having a universal standard in tagging, high-speed is defined by the European standard of 200 km/h or 124 mph. In North America, the only high-speed train is the Acela Express, although MARC commuter trains in Maryland use infrastructure and equipment that can exceed 200 km/h. In Germany, these would be the ICE, Thalys, the TGV, and Railjet.
long_distance Long-Distance Train Long distance trains that travel long distances. Slower than high-speed trains and also have more stops, but still travel further and faster than regional trains. A standard to go by is longer than 800km or 500mi, but this is a more nebulous category. In North America, these would be cross-continent trains like the California Zephyr, Southwest Chief, or Empire Builder. In Germany, these would be EuroCity and InterCity.
regional Regional Train Regional trains in regular service that travel regional distances. Faster and longer distance than commuter trains. A standard to tag this by would be what isn't long enough to really be long-distance, but is also not a commuter line. In North America, this would be trains like the Downeaster or Illinois Zephyr. In Germany, this would be Regional-Express or Regionalbahn.
commuter Commuter Train Local trains that have frequent schedules to satisfy the needs of work commuters. In North America, this is largely state-run or city-run services for connecting a metropolitan area to its central city. Usually have a large amount of stops. In North America this would be trains like Metrolink in Southern California or MARC in Maryland., In Germany, this would be the S-Bahn.
car Motorail Long-distance trains that can carry automobiles. In North America, the only service in this category is Amtrak's Auto Train.
car_shuttle Car Shuttle Train Not to be confused with the above Motorail, Car Shuttle Trains are generally used to connect two places not readily accessible by road that are only moderately far from each other.
night Night Train Long-distance trains that operate primarily at night, with sleeping accommodations. In Germany this is the DB Euronight or City Night Line.
tourism Tourist/Heritage Railway Trains run for the purpose of tourism, often to preserve the history of the past. These may be operated fully profitable tourist ventures, or be run by not-for-profits like a [[#Railway museums|Railway Museum]. In North America, these are prevalent, most often being former railways that would have otherwise been abandoned. Examples include the Valley Railroad, the Nevada Northern Railway, or the Strasburg Rail Road. In Germany, an example would be the Achensee Railway.
name <name> Name The name of the train route. This ideally should be written as the reference code, destination, and name. Example: "RE7 Rheine Rhein-Münsterland-Express", or "AT, Jamaica, City Terminal Zone".
operator <operator> Operator The operator of the route.
ref <code> Reference Code The reference code used for the route, such as "RE7", "AT", "HP", or "NYP".
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Empire Builder".
color <color/hexadecimal> Line Color If applicable, the color the operator uses for the route, in a (basic) color name, or hexadecimal web color.
text_color <color/hexadecimal> Text Color If applicable, the color the operator uses on the text for the route, in a (basic) color name, or hexadecimal web color.

Station/Stop

Relation All components of a station/stop, including stop positions, are summarized by adding them to a relation. The tagging is directly based on the Public Transport Schema, but was extended to also cover Operating Sites, which is a category that contains things not used in public transport.

For further tagging guideance, see Operating Sites.

Operating Site Facilities

Platforms

WayArea A platform for passengers to wait and enter trains from. See loading docks for freight. Mapped as either a way or area, although an area is recommended.

Key Value Property Description Default value
Note: Disused and abandoned platforms can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=platform).
railway platform Railway Platform A platform. Mapped as either a way or area, although an area is recommended.
public_transport platform Public Transport Platform If used in public transit, it should be tagged with this. This is part of the new Public Transport Schema.
name <name> proper name If the platform has a proper name, name=* is used. Use ref=* to map the track numbers.
ref <number> Track Numbers The track numbers served by this platform, separated by a Semicolon (;). For example, 1;2.
area yes/no Area Is the platform mapped an an area? yes
lit yes/no Lighting Is the platform lit? no
covered yes/no Covered Is the platform covered? no
surface asphalt/paving_stones/concrete etc. Platform Surface The material the surface of the platform is. See Key:surface for more values.
wheelchair yes/no/limited Wheelchair Accessibility Is the platform wheelchair accessible?
tactile_paving yes/no/incorrect Tactile Paving Is the platform equipped with tactile paving for a blindman's cane? The most widespread and important on the yellow line that borders the track end of the platform. Note that tactile_paving:yes cannot be used on areas, so if present should be mapped on a separate way.
height <height> Platform Height The height of the platform in meters. If using feet, prefix with ft:.
operator <operator> Operator The operator of the platform.

If a track along one platform edge has multiple numbers (e.g. 4a and 4b because it is used by two trains at the same time), the platform can be mapped as multipolygon. Tags which were tagged at the area should be transferred to the multipolygon relation. The platform edges parallel to the tracks are tagged with railway=platform_edge and ref=<track number>.

If the platform is divided into sections (A, B, C, …) to describe which carriage stops at which section, you can map a nodes at the section signs onto the platform edge and tag it with railway:platform:section=C.

Ticket vending machines

Node A vending machine where it is possible to buy transport tickets.

Key Value Property Description Default value
amenity vending_machine vending machine Generic tag for a vending machine. Beeing tagged as a point.
vending public_transport_tickets ticket machine Amachine where you can buy tickets.
operator <operator> operator The operator of these machines, such as Deutsche Bahn.
ref <Number> Machine number The internal number of the machine. Often written on it.
payment:coins yes/no Coins Does the machine accept coins? no
payment:notes yes/no banknotes Does the machine accept banknotes? no
payment:electronic_purses yes/no Stored value cards Does the machine accept prepaid cards? no
payment:debit_cards yes/no Maestro/debit cards Does the machine accept debit cards, e.g.: maestro? no
payment:credit_cards yes/no Credit cards Does the machine accept credit cards? no
payment:account_cards yes/no loyalty cards Does the machine accept loyalty cards, e.g.: "BahnCard" or "Railcard"? no

Ticket counters

Node A desk where you can buy tickets and ask for information. Mapped as a node.

Key Value Property Description Default value
shop ticket Ticket Counter A desk where you can buy tickets and ask for information. Mapped as a node.
operator <operator> Operator The operator of the ticket counter, such as Amtrak.
name <name> Name A name for the ticket counter.
opening_hours <Öffnungszeiten> Hours of Operation The hours of operation of the ticket counters.

Subway entrances

Node Access to a metro station. Mapped as a node at the entrance.

Key Value Property Description Default value
railway subway_entrance Subway Entrance Access to a metro station. Mapped as a node at the entrance.
name <Name> Name The name of the entrance and the metro station.
wheelchair yes/no/limited Wheelchair Accessibility Is the entrance wheelchair accessible?
bicycle yes/no Bicycle Accessibility Is the entrance bicycle accessible?

Service Telephone

Node Telephones are plotted as node on their actual locations next to the track.

Key Value Property Description Default value
railway phone Fernsprecher A service telephone for the railway, often at level crossings so that in emergency someone can connect to the relevant signal operator. Telephones are plotted as node on their actual locations next to the track.
ref <number> Reference Number A reference number for the telephone, not the telephone number.

Water tower

NodeArea A water tower to supply steam locomotives with water. Can be mapped as a node or area, with area being preferrable.

Key Value Property Description Default value
Note: Disused and abandoned water towers can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=water_tower).
railway water_tower Water Tower A water tower to supply steam locomotives with water.
man_made water_tower Water Tower A tower that holds water at an elevation to build up water system pressure via gravity.
building yes Building If the water tower is a building or not.
area yes/no Area Is the water tower mapped as an area?

Fuelling Station

NodeArea A fuelling station for locomotives. Can be mapped as a node or area, with area being preferrable.

Key Value Property Description Default value
railway fuel Tankstelle A fuelling station for locomotives, primarily diesel-electrics.
building yes Building If the fuelling station is a building or not.
area yes/no Area Is the fuelling station mapped as an area?

Water Crane

Node A water crane used to deliver water into the tank or tender of a steam locomotive. Mapped as a node.

Key Value Property Description Default value
Note: Disused and abandoned water cranes can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=water_crane).
railway water_crane Water Crane A water crane used to deliver water into the tank or tender of a steam locomotive.

Coaling Station

NodeArea A fuelling station to provide steam locomotives with coal. Can be mapped as a node or area, with area being preferrable.

Key Value Property Description Default value
Note: Disused and abandoned coaling station can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=coaling_facility).
railway coaling_facility Coaling Station A fuelling station to provide steam locomotives with coal.
area yes/no Area Is the coaling station mapped as an area? yes

Sand Store

NodeArea A facility where locomotives can refill their barrels. It is tagged with railway=sand_store.

Disused and abandoned sand stores can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=sand_store).

Sewage Disposal

NodeArea A facility where sewage from train toilets and other types of waste are disposed.

Key Value Objekt Beschreibung Standardwert
Note: Disused and abandoned sewage disposals can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=waste_disposal).
railway waste_disposal waste disposal facility A facility where waste is disposed.
waste brown_water brown water sewage from water toilets (common in Germany)
chemical_toilet chemical toilet sewage from chemical toilets
area yes/no Area Is the facility mapped as an area? yes

Compressed Air

NodeArea A facility to get compressed air. It is tagged with railway=compressed_air_supply.

Disused and abandoned compressed air supply stations can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=compressed_air_supply).

Power Supply

NodeArea Power sockets next to yard tracks which are used by employees cleaning trains. It is mapped using railway=power_supply.

Disused and abandoned power supplies stations can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=power_supply).

Preheating

NodeArea Preheating facilities are mapped using railway=preheating.

Disused and abandoned preheating facilities can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=preheating).

Car Wash

NodeArea A place where locomotives and rolling stock are cleaned. Can be mapped as a node or area, with area being preferrable.

Key Value Property Description Default value
Note: Disused and abandoned car wash can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=wash).
railway wash Car Wash A place where locomotives and rolling stock are cleaned.
building yes Building If the car wash is a building or not.
area yes/no Area Is the car wash mapped as an area?

Pit

Node A pit between the rails to repair locomotives or rolling stock from underneath.

Key Value Property Description Default value
railway pit Pit A pit between the rails to repair locomotives or rolling stock from underneath. Mapped as a node on the track at the center of the pit.

Loading Gauge Structure

Node A structure used to check compliance with the railway's loading gauge. Mapped as a node on the track.

Key Value Property Description Default value
Note: Disused or abandoned structure gauges can be tagged by adding disused: and abandoned: (Example: disused:railway=loading_gauge).
railway loading_gauge Loading Gauge Structure A structure used to check compliance with the railway's loading gauge. More recently, this is an electronic detector that uses light beams, but has been and can be an arm of gantry placed over the exit of a goods yard or the entrance of a restricted part of the railway. Mapped as a node on the track.

Hump

Node A hill in a classification yard that the lead track of the yard goes over. Railroad cars then roll down the other side into the appropriate track.

Key Value Property Description Default value
railway hump_yard Hump A hill in a classification yard that the lead track of the yard goes over. Railroad cars then roll down the other side into the appropriate track. This is mapped as a point on the track at the peak of the hill.

Retarder

Node A retarder is a track-based brake used in hump yards to keep the speed of cars low.

Key Value Property Description Default value
railway rail_brake Retarder A retarder is a track-based brake used in hump yards to keep the speed of cars low. It is on the outside of the tracks and grips the wheels against the tracks to slow them down. It is mapped as a node at the end closest to the hump in the hump yard.

Engine Shed

NodeArea A shed to protect locomotives and rolling stock from the environment. Can be mapped as a node or area, with area being preferrable.

It is reccomended mapping the node where track intersects the building as entrance=yes. Consider potentially also adding the tags to that node as barrier=door with tags like door:overhead (if the door is an up-and-over door), or door:sliding (if the door slides to the left or the right to open).

Key Value Property Description Default value
Note: Disused and abandoned engine shed can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=engine_shed).
railway engine_shed Engine Shed A shed to protect locomotives and rolling stock from the environment. Can be mapped as a node or area, with area being preferrable.
building yes Building If the shed is mapped as an area, it should have this tag.
name <name> Name The name of the engine shed.

Locomotive Works

NodeArea A engine shed that is built to serve as a maintenance facility for locomotives or rolling stock. Can be mapped as a node or area, with area being preferrable.

It is reccomended mapping the node where track intersects the building as entrance=yes. Consider potentially also adding the tags to that node as barrier=door with tags like door:overhead (if the door is an up-and-over door), or door:sliding (if the door slides to the left or the right to open).

Key Value Property Description Default value
Note: Disused and abandoned locomotive works can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=workshop).
railway workshop Locomotive Works A engine shed that is built to serve as a maintenance facility for locomotives or rolling stock. Can be mapped as a node or area, with area being preferrable.
building yes Building If the shed is mapped as an area, it should have this tag.
name <name> Name The name of the locomotive works.

Radio Mast (Railroad)

Node A radio mast that the railroad transmits its radio system from. It is mapped as a node.

Key Value Property Description Default value
railway radio Radio Mast A radio mast that the railroad transmits its radio system from. It is mapped as a node.
ref <reference> Reference A reference code used to identify the radio tower.
operator <operator> Operator The operator of the radio mast.
railway:radio analogue/gsm-r Radio Type Is the radio analogue or GSM-R? gsm-r
man_made mast/tower Mast/Tower Indicates this is a mast/tower. See Tag:man_made=mast and Tag:man_made=tower for the differences between a mast and a tower.
tower:type communication Transmission Tower Indicates this node is a transmission tower.
communication:gsm-r yes/no GSM-R Indicates that this tower transmits GSM-R.

Turntable

NodeArea A device that rotates locomotives to switch them to different tracks, or to reorient them. Can be mapped as a node or area, with area being preferrable.

Key Value Property Description Default value
Note: Disused and abandoned turntable can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=turntable).
railway turntable Turntable A device that rotates locomotives to switch them to different tracks, or to reorient them. Can be mapped as a node or area, with area being preferrable.


Hot Box and other Defect Detectors

Node Put a node at the position where the defect detector is located. The node should be part of the track.

Key Value Property Description Default value
railway defect_detector defect detector
ref <number> number number if existing
defect_detector:hot_box yes/no hot boxes Does the gadget detect hot boxes?
defect_detector:dragging yes/no dragging parts Does the gadget detect dragging parts?

Transfer Table

NodeArea A device that moves horizontally to transfer locomotives to different tracks. Can be mapped as a node or area, with area being preferrable. Make sure to map the entire area it can move.

Key Value Property Description Default value
Note: Disused and abandoned transfer table can be mapped by adding the prefix disused: or abandoned: (Example: disused:railway=traverser).
railway traverser Transfer Table A device that moves horizontally to transfer locomotives to different tracks. Can be mapped as a node or area, with area being preferrable. Make sure to map the entire area it can move.

Loading Dock

NodeWayArea A loading dock or loading point for moving goods on or off of railcars. For purposes of mapping, a [#Platforms|platform] for freight. Can be mapped as a node, way, or area. Ideally mapped as an area.

Key Value Property Description Default value
railway loading_ramp Loading Ramp/Loading Dock platform] for freight. Can be mapped as a node, way, or area. Ideally mapped as an area.
name <name> Name A name for the loading dock for the renderer, as well as navigational aid.
lit yes/no Lighting Is the platform lit? no
surface asphalt/paving_stones/concrete etc. Ramp Surface The material the surface of the ramp is. See Key:surface for more values.
operator <operator> Operator Operator of the loading dock.
height <height> Platform Height The height of the platform in meters. If using feet, prefix with ft:.
area yes/no Area Is the platform mapped an an area? yes

Crane

NodeArea A crane next to or above the track in order to load or unload goods, such as coal or shipping containers. If it is a fixed crane, it can be tagged as a node or an area, with area being preferred. If a Gantry Crane, it can be tagged as a node at the center of the track or a way to the side of the track, with the way being preferred.

Key Value Property Description Default value
man_made crane Crane A crane next to or above the track in order to load or unload goods, such as coal or shipping containers.
crane:type floor-mounted_crane/portal_crane Crane Type If a fixed crane, it is a floor-mounted_crane. If it is a Gantry Crane, it is a portal_crane.
crane:mobile no/rail Crane Mobility Enter no if it is a fixed position crane, or rail if it is a Gantry Crane.
crane:height <height> Crane Height Crane height in meters. If using feet, prefix with ft:. Not required.
crane:maxradius <length> Boom Length/Working Range In meters, how long the crane's boom is or how far it can move horizontally. If using feet, prefix with ft:. Not required.
name <name> Crane Name If the crane has a specific name. Not required.
operator <operator> Crane Operator The operator of the crane.

Weighbridge

Node A weighbridge is a weighing scale used to weigh locomotives or rolling stock.

Key Value Property Description Default value
railway track_scale Weighbridge A weighbridge is a weighing scale used to weigh locomotives or rolling stock. It is mapped as a node on the track at the center of the scale.

Transporter Car

Node A type of railroad car designed for loading different gauge railroad equipment on it, to allow said equipment to traverse a different gauge railway. This is usually a lager gauge over a smaller gauge.

Key Value Property Description Default value
railway carrier_truck_pit Transporter Car A type of railroad car designed for loading different gauge railroad equipment on it, to allow said equipment to traverse a different gauge railway. This is usually a lager gauge over a smaller gauge. It is mapped as a node on the infrastructure that allows the railroad cars to load onto the transporter car.

Bogie Exchange

Node A facility where the gauge of a car can be changed by exchanging its wheels and axles.

Key Value Property Description Default value
railway gauge_conversion Bogie Exchange A facility where the gauge of a car can be changed by exchanging its wheels and axles. It is tagged as a node on the junction of the larger and narrower track.

Gate

Node A gate that blocks the track, such as at a factory.

Key Value Property Description Default value
barrier gate Gate A gate that blocks the track, such as at a factory. This is mapped as a node on the track. For multiple tracks, map a node on each track.
access private/no Access The restrictions on access for the gate. access=private should be used for private corporations and companies, and access=no should be for government-run facilities.

Railway museums

NodeArea A museum that exhibits and restores various aspects of railroad history, including locomotives, rolling stock, and signalling equipment. It can be mapped as a node or an area, with an area being preferred.

If mapped as an area, map the museum grounds. If a node, map the node at the center of the museum grounds.

Key Value Property Description Default value
railway museum Railway Museum A museum that exhibits and restores various aspects of railroad history, including locomotives, rolling stock, and signalling equipment. It can be mapped as a node or an area, with an area being preferred.
tourism museum Museum Indicates this is a museum.
name <name> Name The name of the museum
area no/yes Area Tag if this is an area.
image <URL> Image The URL of an image of the museum (If possible, images from Wikimedia Commons should be used).
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Illinois Railway Museum".

Container Terminal

NodeArea A transshipment facility for shipping containers. For uses to ORM, this is between ships and rail, or rail and truck. Mapped as a node or an area, with an area being preferred.

Key Value Property Description Default value
man_made container_terminal Container Terminal General tag for a container terminal (can exist without rail transport).
railway container_terminal Container Terminal Tag for a container terminal (this one has to involve rail transport).
landuse industrial Industrial Land uses for industrial purposes
name <name> Name The name of the container terminal.
operator <operator> Operator The operator of the container terminal.
owner <owner> Owner The owner of the container terminal.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Port Jersey".

Car Shuttle

Node A loading ramp to load cars onto trains. It is mapped as a node on the ramp where the access road meets the railroad track.

Key Value Property Description Default value
railway car_shuttle Car Shuttle A loading ramp to load cars onto trains.
name <name> Name Name of the loading ramp.
uic_ref UIC-Code The UIC (International Union of Railways) Code for this station.
uic_name <name> UIC-Name The UIC (International Union of Railways) Name for this station.
operator <operator> Operator The operator of this station.
network <network> Network The rail network to which this station belongs to.
image <URL> Image The URL of an image of the loading ramp (If possible, images from Wikimedia Commons should be used).

Rolling Highway

Node Loading ramp to load trucks onto trains. It is mapped as a node on the ramp where the access road meets the railroad track.

Key Value Property Description Default value
railway rolling_highway Rolling Highway A loading ramp to load trucks onto trains.
name <name> Name Name of the loading ramp.
uic_ref <code> UIC-Code The UIC (International Union of Railways) Code for this station.
uic_name <name> UIC-Name The UIC (International Union of Railways) Name for this station.
operator <operator> Operator The operator of this station.
network <network> Network The rail network to which this station belongs to.
image <URL> Image The URL of an image of the loading ramp (If possible, images from Wikimedia Commons should be used).

Train Ferry

WayRelation A service to transfer rail cars across water. In this case, this can be either a train ferry or car float. This can be mapped as a way or a relation.

Key Value Property Description Default value
route ferry Ferry Indicates this route is a ferry.
railway ferry Train Ferry Specifies the ferry route as one transporting railroad cars.
name <name> Name Name of the ferry route.
operator <operator> Operator Operator of the ferry route.

Ferry Loading Dock

Node Loading dock to load railroad cars onto a ferry. It is mapped as a node where the track and ferry route meet.

Key Value Property Description Default value
amenity ferry_terminal Ferry Terminal Tag that says this is a ferry terminal.
name <name> Name Name of the ferry terminal.
uic_ref <code> UIC-Code The UIC (International Union of Railways) Code for this terminal.
uic_name <name> UIC-Name The UIC (International Union of Railways) Name for this terminal.
operator <operator> Operator The operator of this terminal.
railway ferry_terminal Railway Ferry Terminal Specifies this as a railway ferry terminal.

Station buildings

Area The building of a railway station. Mapped as an area.

Key Value Property Description Default value
Note: Disused and abandoned station buildings can be mapped by adding the prefix <code>disused: or abandoned: (Example: disused:building=train_station).
building train_station Station Building A building of a railroad station.
start_date <date> Date of opening Date the building was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the building was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the Station Building. (If possible, images from Wikimedia Commons should be used).
ele <elevation> Elevation The height of the building above sea level, in meters. If using feet, prefix with ft:.

Companies with rail connection

Area Factories, industrial plants, or other companies that have railway access. Please tag all buildings at the factory as having rail connections If the building exists previously, please just add the below tags, if they aren't already present. The tracks themselves should be tagged with usage=industrial. The purpose of all of this is to specifically highlight these buildings in ORM.

The following tags are important to OpenRailwayMap rendering industrial sites specifically:

Key Value Property Description Default value
landuse industrial/commercial Landuse If the area is used for industrial purposes, or commercial purposes.
man_made works Factory An industrial production plant, also known as a factory. Only tag if it is a factory.
name <name> Factory Name The name of the factory.

The following tags are helpful in OpenStreetMap at large, and should be added if not present and are known values:

Key Value Property Description Default value
Note: Disused and abandoned buildings can be mapped by adding the prefix disused: or abandoned: (Example: disused:building=yes).
operator <operator> Operator The operator of this factory. May very well be the same as the owner.
owner <owner> Owner The owner of this factory. May very well be the same as operator.
building yes/commercial/industrial/warehouse Building Type The use of the specific building. Tag as yes if type is not known.
brand <brand_name> Brand Name The name of the brand of the product produced or sold here.
start_date <date> Date of opening Date the building was put into service. For formatting, see start_date=*.
end_date <date> Date of closing Date the building was taken out of service. For formatting, see end_date=*.
image <URL> Image The URL of an image of the Building. (If possible, images from Wikimedia Commons should be used).
ele <elevation> Elevation The height of the building above sea level, in meters. If using feet, prefix with ft:.
wikipedia <country_abbr>:<article name> Wikipedia article Article on Wikipedia. Tag the key in the format <country_abbreviation>:<Article name>, for example "wikipedia=en:Highland Park Ford Plant".
architect <name> Architect Name If the building had a single architect, put their name here, or if an architect firm, put that firm's name here.

Electrical Facilities

For tagging of how a track is electrified and its voltage see the track section of this page.

Catenary Mast

Node Catenary masts can be mapped and tagged with power=catenary_mast.

Joints

Node Joints are points of catenary or electric rail which disconnect two electric circuit.

Key Value Property Description Default value
railway:electricity joint Joint This point in catenary or electric rail disconnects two electric circuit.
railway:electricity:jumpering jumpered/possible/no status of jumpering Describes default status of this joint. Use jumpered if this joint does usually not disconnect two sections. Use possible if this joint usually disconnects two electric circuits but can be jumpered if one power supply fails or a electric train has a breakdown in an insulated section. Use no if this joint can never be jumpered.

Neutral sections

Way Track section where the catenary is grounded (can be found at joints) and where the main switch has to be turned off, should be tagged with railway:main_switch_off=yes.


Track sections where pantograph has to be lowered

Way Track section where the pantograph has to be lowered (e.g. moveable bridges) should be tagged with railway:lower_pantograph_section=yes.

Power Supply

Node Power from a power line is supplied at this point into catenary or electric rail. Use railway=power_supply. It is tagged onto nodes of a track.

Related tagging schemes

Links