Biểu trưng OpenStreetMap OpenStreetMap

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của marscot vào 14 tháng 11 năm 2010 lúc 21:37

at juntion node add this
restriction=no_right_turn

Bình luận của cmodyssey vào 14 tháng 11 năm 2010 lúc 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.

Bình luận của chillly vào 14 tháng 11 năm 2010 lúc 21:49

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

Bình luận của marscot vào 14 tháng 11 năm 2010 lúc 22:01

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

Bình luận của ALE! vào 15 tháng 11 năm 2010 lúc 11:05

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

Bình luận của Pink Duck vào 15 tháng 11 năm 2010 lúc 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.

Bình luận của stephan75 vào 15 tháng 11 năm 2010 lúc 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

Đăng nhập để nhận xét