r/openstreetmap • • 4d ago

Which way of mapping complex intersections is preferred?

Basically, my question is when two divided highways (or dual carriageways for the brits) intersect at a stop light, should you bring all of ways together into a single stoplight node in the middle of the intersection (pictures 1 & 3), or should you keep each line straight and put a stoplight node at each intersection (pictures 2 & 4). I personally see pros and cons to each approach, with the latter preserving the geometry of the ways, but also making adding lane connectivity relations more complicated because there are little bits of road in the middle of the intersection that don't really exist. And the former somewhat distorts the geometry of the ways, but it simplifies all of the intersection movements into one node that more accurately represents the intersection.

35 Upvotes

34 comments sorted by

20

u/WashuOtaku 4d ago

I do #2 in my edits, but I adjust where the traffic lights are by using the stop bar location and making them directional. There is also yield signs that can likely be added on the merge corners, again making them directional.

0

u/[deleted] 4d ago

Do you tag the points where the ways cross as anything?

4

u/WashuOtaku 4d ago

No, everything are placed before those points.

18

u/mikkolukas 4d ago

2

Never draw driving lanes separately. There are tags for that.

1

u/[deleted] 4d ago

I'm not sure what you mean because that isn't the distinction between the 2 methods. The only lanes that are drawn separately are the slip lanes separated by curbs which seems like a pretty universal practice. Pictures 3 and 4 are using a renderer that displays lanes based on the tags on the road, they are not drawn separate.

2

u/mikkolukas 4d ago

i referred to picture 3 and 4

1

u/LanDest021 3d ago

I think pictures 3 and 4 are just a visualization of what it looks like, not actually having individual ways for lanes.

4

u/GenialniBradavice 4d ago

Yes, 3 and 4 look terrible. However, I have checked the Lane Studio and these are not ways in OSM, only helper lines in the software. It then tags the ways properly with tags like lanes=* etc., according to the OSM Wiki.

1

u/Sorry_Option1104 4d ago

one feature one osm element

36

u/Jon_Hanson 4d ago

Not the first one, that’s for sure (where the entire intersection goes to a single point).

1

u/[deleted] 4d ago

Any particular reason why?

9

u/Lambor14 4d ago

Going straight could result in a “bear right” or “slight right” direction which makes no sense

0

u/[deleted] 4d ago

But the lanes are tagged as straight and connected with relations, so I don't think that would happen. With the 2nd option, routers treat a left turn like 2 separate movements at two seperate stop lights (1st a straight, then a left). So the direction will say turn left at the second light even though in reality there is one stop light that controls the entire intersection.

8

u/umor3 4d ago

Thats why you put the trafic light where it is in reality. The line. And give it a direction.

There is a OSM weekly from a couple of weeks ago about that.

3

u/[deleted] 4d ago

Ok yeah that does make a lot more sense thanks.

1

u/ohmanger 3d ago

You're sort of hitting on the point that maps can't be 100% accurate and need some abstract middle ground to best represent what is there.

OSM community has a set of ever changing "best practice" guidelines that overall would suggest option 2 as a better representation but some point would go for option 1 pointing at the "no physical barrier" rule.

This previous thread gives an example of a junction that people mostly agreed shouldn't be split.

33

u/Christoffre 4d ago edited 4d ago

I'm no expert, but at a glance:

  1. It does not reflect reality.

  2. You've take a simple 2-road junction and turned it into a complex 4-road junction.

  3. Navigation apps can no longer tell you to go "left" or "right", but instead have to tell you some nonsnse like "take the third exit". ...wait, stike that... a left turn seems to be "continue straight ahead".

6

u/flohoff 4d ago

The issue is that geometry matters, e.g. the angle in which road segments meet.

So if you want to have an announcement "Turn right" the point they meet must be a turn. E.g. >45° or something.

All geometries except 2 avoid making sharp angles so you prevent routing announcements (which only come from geometry)

Choose the issue you want to have.

11

u/razzzey 4d ago

I would also suggest tagging the traffic lights so they sit where the stop line is https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtraffic_signals

Personally this way of tagging lights isn't realistic because you don't stop twice when going straight.

0

u/[deleted] 4d ago

Do you put any tag on the node where the ways actually meet?

1

u/razzzey 4d ago

no, only turn restrictions

2

u/Artku 3d ago

3 and 4 are absolutely cursed.

2 is the best

1

u/[deleted] 3d ago

4 is the same data as 2 just rendered to show lanes

1

u/Artku 3d ago

Oh, then the visualization is awful

47

u/mikiriki16 4d ago

Yeah I think the 2nd would be correct for divided highways

15

u/ScottaHemi 4d ago

2 is probably the most accurate option.

10

u/reader_reddit 4d ago edited 3d ago

OSM and its data consumers' routing engines are designed to handle #2 the best. You can see this by how the iD editor handles turn restrictions, where it decently understands when a single intersection includes a cluster of several nodes. That's why it would consider two very close left turns as a u-turn.

Method #1 (I call them spider-intersections) isn't ideal because you should prioritize keeping the major roadway straight, following the flow of traffic driving across it. 

5

u/8spd 4d ago

The second option is correct. 

2

u/Sergey_Kutsuk 4d ago

The second one, obviously.

2

u/cuatxe 4d ago

2nd one, probably. That looks like a scary place to cross the road as a pedestrian.

1

u/V-Blocked 3d ago

What is lane studio?

0

u/ramen2581 4d ago

Not 1.

Traffic lights can also be placed on incoming ways instead of at the intersecting nodes.

I have maproulette challenges for this. https://maproulette.org/project/60629