Откуда и куда

Zartbitter сделал перерыв в своих десяти тысячах правок, чтобы подарить нам карту ограничений поворотов и ошибок в них. Она построена на Overpass API и обрабатывает данные OSM джаваскриптом, от чего работает быстрее, нежели старый Restriction Analyser (который до сих пор ждёт ответа от XAPI). Обновления карты, при этом, подхватываются за несколько минут.
note=Грузовым — налево запрещено
restriction:agricultural=no_left_turn
restriction:hgv=no_left_turn
type=restriction
стали неправильными, с ошибкой:
Error:
— relation with more than 1 restriction tag
?
> Error fetching restriction data.
> TypeError: Access is denied.
Opera 11 и IE 8.
Во всплывающем окошке не написано, для кого ограничение (для мотоциклов, для грузовиков, для всех и т. д.)
First of all: Thanks for your postings :)
About http://wiki.openstreetmap.org/wiki/File:4.1.4_(Road_sign).gif
Turn restrictions are not traffic signs. Turn restrictions are restrictions on the connectivity of the road network. The map doesn’t show traffic signs as they are on ground. In Germany if there’s a no_left_turn you see http://commons.wikimedia.org/wiki/File:Zeichen_214-20.svg if the crossing looks like a +. If the crossing looks like a -| there is this sign http://commons.wikimedia.org/wiki/File:Zeichen_209-30.svg — but we map a no_left_turn because this is what the the sign tells you: Take every other way but left. Therefore there’s no turn restriction only_right_or_straight_on or something like this in OSM.
About Opera / IE 8
The map uses Cross-Origin Resource Sharing to fetch restriction data (html is from map.comlu.com, telling the browser to read data from overpass-api.de). Microsoft has it’s own way to handle this (XDomainRequest ) and I made it work (at least for me) with IE 9 and IE 10 using jquery. XDomainRequest (available in IE 8 and IE 9) doesn’t work for me in IE 9 («access denied»), don’t know why, I’ve tested a lot of «working» examples. I don’t have access to IE 8 or Opera 11 (what’s about Opera 12?). If you know how to fix this, you’re welcome. Please contact me using my OSM account (preferable German or English).
Он кроме разрешения очевидного поворота на oneway дорогу запрещает разворот.
I would I see the type of vehicle in the pop-up window.
I mean «restriction:motorcycle, restriction:motorcar, restriction:hgv» tags for example.
Great tool anyway.
Для ограничений со словом «only»:
from — дорога от куда едем
to — дорога куда можно ехать
Для ограничений со словом «no»:
from — дорога от куда едем
to — дорога куда нельзя ехать