From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg railway = tram
Praha, Hloubětín, Lehovec, tram KT8D5.JPG
Tram rails or tracks. Show/edit corresponding data item.
Rendering in OSM Carto
Rendering-railway tram.png
Group: railways
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Useful combination
Status: de facto

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

Example of two-track tramways as a separate carriageway, embedded within a single carriageway road, and inside a dual carriageway road.
  • 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=*.

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.
  • 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


See also