[Talk-transit] Mapping Tram Lines

Frankie Roberto frankie at frankieroberto.com
Mon Sep 7 15:42:32 BST 2009

Jerry Clough said:

I've just been updating a few street-names along the route of the Nottingham
> Tram, and I encountered an issue with this way
> http://www.openstreetmap.org/browse/way/19066107. This section of the tram
> is oneway, southbound; the northbound line running a couple of hundred
> metres to the east. However, the tram and the road are tagged on the same
> way. I don't actually know what the traffic restrictions are on the road,
> but clearly it is not impossible for a road to be 2-way and the tram only
> running oneway, and vice versa. I was wondering if anyone has any advice as
> to how to resolve this type of issue. The options I can think of at the
> moment are:
> * Namespaced oneway tags. Almost certainly to be ignored by any existing
> tools.
> * Two distinct ways sharing nodes, one for the roadway, the other for the
> tramline.
> * Rely on roles in the relation.
> In the meantime I'll try and see if I can think of some other similar
> cases.

Yep, this is a bit of an issue.  There's a road near me in Manchester where
the road has tram tracks on both sides of the road, but cars and buses can
only use one side of the road (so it's oneway for cars, but two-way for

Given that we may be aiming to have one way per tram track anyway (or at
least that's what I've been doing where there are reserved tram tracks), I
'solved' this by having two parallel ways, both marked with railway=tram and
oneway=yes (in opposite directions), but only one of which contains an
additional highway=secondary tag. However it's not ideal as it looks a bit
odd in renderers, and which way should contain the road name?

Peter Miller has been advocating for trams having separate ways to roads,
but simply re-using the same nodes where the tracks are in the roadway. This
is a bit awkward to use in current editors (but not impossible), however it
solves some of these issues, and a few more (like wanting to add separate
operator=* tags for the tram tracks and the road).

Given that we generally only use one way per road (rather than per lane), I
guess that generally we shouldn't be adding one way per tram track when the
tram tracks are embedded in the road - (use tracks=2 instead?).


> Jerry
> _______________________________________________
> Talk-transit mailing list
> Talk-transit at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-transit

Frankie Roberto
Experience Designer, Rattle
0114 2706977
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-transit/attachments/20090907/69aad1ae/attachment.html>

More information about the Talk-transit mailing list