開放街圖標誌 OpenStreetMap 開放街圖

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

marscot2010年11月14日 21時37分 發表的評論

at juntion node add this
restriction=no_right_turn

cmodyssey2010年11月14日 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.

chillly2010年11月14日 21時49分 發表的評論

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

marscot2010年11月14日 22時01分 發表的評論

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

ALE!2010年11月15日 11時05分 發表的評論

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

Pink Duck2010年11月15日 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.

stephan752010年11月15日 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

登入 來留下評論