Откуда и куда



Zartbitter сделал перерыв в своих десяти тысячах правок, чтобы подарить нам карту ограничений поворотов и ошибок в них. Она построена на Overpass API и обрабатывает данные OSM джаваскриптом, от чего работает быстрее, нежели старый Restriction Analyser (который до сих пор ждёт ответа от XAPI). Обновления карты, при этом, подхватываются за несколько минут.
Поделиться
Отправить

Мнения, высказанные на этом сайте, отражают точку зрения лично автора сайта и ничью больше: ни его бывших или настоящих работодателей, ни семьи и знакомых.

15 комментариев
lzhl 2013
Удобно. Исправил все ошибки в Нижнем. А как пользоваться Restriction Analyser никогда не понимал.
AlexTheTux 2013
И почему же у нас теперь такие ограничения:

note=Грузовым — налево запрещено
restriction:agricultural=no_left_turn
restriction:hgv=no_left_turn
type=restriction

стали неправильными, с ошибкой:
Error:
 — relation with more than 1 restriction tag
?
afonin 2013
ууух крутая штука!
freeExec 2013
Что-то у него с углами между дорог плохо и генерирует странные варнинги :(
Dmitry 2013
Хочу написать автору, чтобы добавил распознавание запретов restriction=no_left_turn + restriction=no_u_turn — знак 4.1.4 (http://wiki.openstreetmap.org/wiki/File:4.1.4_(Road_sign).gif). Судя по wiki, кроме постсоветских стран, этот знак встречается в Германии, Италии, Нидерландах, Японии. Кто знает, в этих странах знак 3.18.2 (http://wiki.openstreetmap.org/wiki/File:No_left_turn_b.png) тоже не запрещает разворот? Как в остальных странах одновременно запрещают левый поворот и разворот? Двумя знаками?
chnav 2013
Карта открывается, но при увеличении масштаба
> Error fetching restriction data.
> TypeError: Access is denied.

Opera 11 и IE 8.
Виталий 2013
Удобный сервис. Есть только одно замечание

Во всплывающем окошке не написано, для кого ограничение (для мотоциклов, для грузовиков, для всех и т. д.)
Илья "Zverik" 2013
Думаю, багрепорты и пожелания можно оставлять в комментариях к его дневнику.
Zartbitter 2013
sorry for an English comment. I used Google translate to «read» your comments with some success ;)

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).
Wowik 2013
Зачем warning на only_right_turn при выесде на oneway?
Он кроме разрешения очевидного поворота на oneway дорогу запрещает разворот.
freeExec 2013
На 12 Опере работает без проблем. + сегодня вышло обновление ;)
NetWormKido 2013
Отличная новость!
Dmitry 2013
Zartbitter, I hope you’ll continue read this blog. Is http://commons.wikimedia.org/wiki/File:Zeichen_214-20.svg sign in Germany allow u-turn? Otherwise you have to combine two restrictions. Any way It is fine if you want to display only restrictions. Road signs can be different from country to country. Thanks, it is very useful tool.
crazylost 2013
Zartbitter,
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.
Dmitry 2013
Карта показывает, что многие путаются с линией «to» в запретах поворотов. Правила простые:

Для ограничений со словом «only»:
from — дорога от куда едем
to — дорога куда можно ехать

Для ограничений со словом «no»:
from — дорога от куда едем
to — дорога куда нельзя ехать
Популярное