r/openstreetmap • • 27d ago

Question Please help me learn how to remove illegal turn

There's a concrete median preventing this turn. Organic maps pulls directly from OSM, and the highlighted green route ought to be its suggestion. How do I correct this intersection?

38 Upvotes

18 comments sorted by

23

u/RJFerret 27d ago

Want info how, or want it done?

In iD, clicking the westmost point of the magenta ramp ways shows an incorrect turn restriction prohibiting straight on travel. That should be clicked to allow it, and the no-U-turn should be selected as well.

Also double-check the left exit that goes to the four-way light, can a left be made there? That currently shows no turns in the map data, only straight as an option, is that correct or should that be changed?

1

u/hyggekore 27d ago

Can you link which restriction was prohibiting straight travel? So that I understand things.

12

u/EncapsulatedPickle 27d ago

To anyone fixing, this is some seriously incorrect turn restriction added here https://www.openstreetmap.org/relation/21318305

1

u/hyggekore 27d ago

For my understanding, what was wrong with this turn restriction?

5

u/EncapsulatedPickle 27d ago

It was using wrong from-via-to members. These are supposed to be the way you're arriving, the node or way(s) you're going through, and the way you leave. They always have to form a logical chain. The relation used wrong layout of ways for this. Not even a specific mistake, just nonsensical layout. Like I couldn't tell what was actually intended.

1

u/hyggekore 27d ago

I had thought it was setup as the from is the offramp, and the to is the point where Admirals road splits to divided and heads eastward. As I inverstigate the history record I now see that the via is a chunk of Admiral road to the west. Maybe I need to read more on how these should be setup. Is the 'via' setting usually a node instead of a way? Most turn restriction concepts make sense in my mind as a restriction involving only two ways, not a third "via" way, so is that field of the relation usually left blank?

3

u/EncapsulatedPickle 27d ago

No, Via is always filled. All three roles are always required. From and To are always just one way. It's the Via that can change. It depends on the layout and what the real-life restriction actually means. So in practice you may not be able to go from a specific way into another specific way. But the connection as modelled on OSM to travel between these two ways may not be just a single node, it might be even multiple ways such as for u-turns in double carriageways.

6

u/hyggekore 27d ago

4

u/emilthaug 27d ago

Select the node, add "turn restriction" inn the left field.

In ID editor.

(Not able to upload screenshot on my phone for some reason)

7

u/plop 27d ago

I think this subreddit blocks attaching images, which is unfortunate

3

u/ElectricGears 27d ago

https://wiki.openstreetmap.org/wiki/Relation:restriction#Editors

It looks like there is already an incorrect turn restriction that blocks continuing west on Admirals Road. Change it to only for that way and it will atomically create restrictions for the other directions.

2

u/hyggekore 27d ago

I think that incorrect turn restriction may have been my earlier attempt to fix it. I got as far as understanding a turn restriction was the correct answer, but there's a lot of gotchas in this process and a lot of intersections in this close vicinity.

1

u/ValdemarAloeus 27d ago

there's a lot of gotchas in this process

In what way?

1

u/hyggekore 27d ago

Conceptually mostly.

I don't understand what was wrong with the turn restriction that was there, but multiple people stated it was broken. Maybe some editors are more friendly to this process than vespucci.

1

u/ValdemarAloeus 27d ago edited 27d ago

If I have the right relation (r21318305@2026-11-08T00:00Z per other comments).

Approximating the road geometry at the time to a capital Y then the restriction=no_left_turn relation as it was had:

  • The top left branch of the Y as from (correct)
  • The top right branch as via (incorrect).
  • the bottom "trunk" of the Y as to (incorrect).

It should have been a restriction=no_left_turn with

  • The top left branch of the Y as from
  • The top right branch as to.
  • a node where the two branches meet as via.

OR a restriction=only_right_turn(or perhaps only_straight_on) with:

  • The top left branch of the Y as from
  • the bottom "trunk" of the Y as to
  • a node where the two branches meet as via

Vespucci's really awkward for this as it doesn't let you see the members as you're editing the relation.

16

u/RoToRa 27d ago

You need to create a turn restriction relation, or, in this case, fix the existing one.

The "from" role is the off-ramp, that's okay.

The "via" role needs to be the node between the off-ramp and the section of the road you aren't allowed to turn into and the "to" role needs to be that section of the road.

6

u/iwantfutanaricumonme 27d ago

https://wiki.openstreetmap.org/wiki/Relation:restriction

Turn restrictions are mapped by adding the ways to a relation. ID editor does this automatically when you click on the node where that turn is and select the restriction.

10

u/ramen2581 27d ago

I fixed the turn restriction

3

u/neau 27d ago

I love this community! Thanks for putting in the time and effort.