|railway = tram|
|Tram rails or tracks|
|Used on these elements|
|Status: in use|
|Tools for this tag|
This tag can be used for tracks which are mainly or exclusively used for trams, or where tram tracks are laid within a normal road open to all traffic, often called street running (in which case the usual way of tagging is to have two ways, each using the same nodes, one tagged railway=tram and the other tagged with a highway=* value).
In some places each tram tracks is mapped separately and in some places two tracks are together mapped as a single railway=tram line. Mapping each tram track separately so that two tracks are lined up side by side is preferred.
How to map
- Where single-track trams run on a street and trams share the same space with the traffic, a new way is drawn for the tram, which can also use the same nodes as the road. This ensures a clean separation of road traffic and tram and avoids conflicts of competing tags such as ref=*.
- Where trams run two lanes on a road that is not structurally separate in directional lanes, the tram tracks are drawn as two ways and the road as a way in between.
- Where tram run along a track enclosed by the road, the trams are drawn as two ways and the road as ways on both sides. Road and trams can be tagged with oneway=yes.
Tags to use in combination
- ref=* - Line reference
- electrified=contact_line - overhead line
- gauge=# - Track width in mm
- frequency=# - Frequency of the traction current in Hz
- voltage=# - Voltage of the traction current in Volt
- service=* - To tag "special" or "unusual" track, see Key:service#Trams for values
- Highway tagging samples/urban
- on Wikipedia