How to change a juntion to show it's now a tuen left only?
Verfasst von cmodyssey am 14. November 2010 in EnglishHi,
Can someone let me know how I edit OSM to change it from a T juntion being able to turn left and right, to only being able to turn left.
Thanks,
Richard.
Diskussion
Kommentar von marscot am 14. November 2010 um 21:37 Uhr
at juntion node add this
restriction=no_right_turn
Kommentar von cmodyssey am 14. November 2010 um 21:47 Uhr
Hi Marscot,
Thanks for that, I think I've done it right.
Could you take a look if you don't mind pleace.
Thanks,
Richard.
Kommentar von chillly am 14. November 2010 um 21:49 Uhr
You might like to look at the more comprehensive relation:
osm.wiki/Turn_restrictions
Kommentar von marscot am 14. November 2010 um 22:01 Uhr
you should add except=foot which would let routing programs let people walking turn what ever way they want.
Kommentar von ALE! am 15. November 2010 um 11:05 Uhr
AFAIK turn restriction should be a relation and not a node. Also I think that "except=foot" is not necessary.
Kommentar von Pink Duck am 15. November 2010 um 13:21 Uhr
Create a new relation, with type=restriction, and restriction=no_right_turn tags and add to the relation the way before the junction with role 'from', the junction node with role 'via' and the restricted right turn way with role 'to'. Be aware that not all routing algorithms currently support turn restrictions, but the surviving ones likely will.
Kommentar von stephan75 am 15. November 2010 um 16:41 Uhr
There is even a plugin for the editor JOSM that makes it really very easy to add turn restrictions by the means of a relation ...
osm.wiki/JOSM/Plugins/Turnrestrictions