Logotip de l'OpenStreetMap OpenStreetMap

Icona de correu electrònic Icona de Bluesky Facebook Icon Icona de LinkedIn Icona de Mastodon Icona de Telegram Icona de X

Discussió

Comentari de marscot el 14 Novembre 2010 a les 21.37

at juntion node add this
restriction=no_right_turn

Comentari de cmodyssey el 14 Novembre 2010 a les 21.47

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.

Comentari de chillly el 14 Novembre 2010 a les 21.49

You might like to look at the more comprehensive relation:
osm.wiki/Turn_restrictions

Comentari de marscot el 14 Novembre 2010 a les 22.01

you should add except=foot which would let routing programs let people walking turn what ever way they want.

Comentari de ALE! el 15 Novembre 2010 a les 11.05

AFAIK turn restriction should be a relation and not a node. Also I think that "except=foot" is not necessary.

Comentari de Pink Duck el 15 Novembre 2010 a les 13.21

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.

Comentari de stephan75 el 15 Novembre 2010 a les 16.41

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

Inicia sessió per a fer un comentari