Tag:railway=tram
Jump to navigation
Jump to search
![]() |
Description |
---|
Tram rails or tracks. ![]() |
Rendering in OSM Carto |
![]() |
Group: railways |
Used on these elements |
Useful combination |
Status: de facto |
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 the case of street running rails, consider adding a embedded_rails=tram
tag to the highway to make other traffic aware that there are rails embedded on the highway.
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
Single-Track tramways

- 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=*
.- To make this clear
embedded_rails=tram
andembedded_rails:lanes=*
can be added on the road geometry
- To make this clear
Dual-Track tramways
- 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.
- To make this clear
embedded_rails=tram
andembedded_rails:lanes=*
can be added on the road geometry
- To make this clear
- 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 referenceelectrified=contact_line
– overhead linegauge=#
– Track width in mmfrequency=#
– Frequency of the traction current in Hzvoltage=#
– Voltage of the traction current in Voltservice=*
– To tag "special" or "unusual" track, see Key:service#Trams for values
Rendering
See also
railway=switch
railway=tram_crossing
railway=tram_level_crossing
- Highway tagging samples/urban
- tram on Wikipedia
|