This project currently has no downloads.
liosha
У меня почему то не работает и выдаёт кучу ошибок:
C:\OSM\getbound>getbound.pl RU-MOS 1>RU-MOS.poly
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 8, ne
ar ""Content-Type" content"
(Missing operator before content?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 40, n
ear "" rel="stylesheet"
(Missing operator before stylesheet?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 40, nea
r "stylesheet" href=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 40, n
ear "" href="http"
(Missing operator before http?)
Having no space between pattern and following word is deprecated at C:\OSM\getbo
und\getbound.pl line 40.
String found where operator expected at C:\OSM\getbound\getbound.pl line 42, nea
r "<link type=""
(Might be a runaway multi-line "" string starting on line 40)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 42, n
ear "<link type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 42, nea
r "css" rel=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 42, n
ear "" rel="stylesheet"
(Missing operator before stylesheet?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 42, nea
r "stylesheet" href=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 42, n
ear "" href="http"
(Missing operator before http?)
Having no space between pattern and following word is deprecated at C:\OSM\getbo
und\getbound.pl line 42.
String found where operator expected at C:\OSM\getbound\getbound.pl line 45, nea
r "<link type=""
(Might be a runaway multi-line "" string starting on line 42)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 45, n
ear "<link type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 45, nea
r "css" rel=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 45, n
ear "" rel="stylesheet"
(Missing operator before stylesheet?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 45, nea
r "stylesheet" href=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 45, n
ear "" href="http"
(Missing operator before http?)
Having no space between pattern and following word is deprecated at C:\OSM\getbo
und\getbound.pl line 45.
String found where operator expected at C:\OSM\getbound\getbound.pl line 50, nea
r "<link type=""
(Might be a runaway multi-line "" string starting on line 45)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 50, n
ear "<link type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 50, nea
r "css" rel=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 50, n
ear "" rel="stylesheet"
(Missing operator before stylesheet?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 50, nea
r "stylesheet" href=""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 50, n
ear "" href="http"
(Missing operator before http?)
Having no space between pattern and following word is deprecated at C:\OSM\getbo
und\getbound.pl line 50.
String found where operator expected at C:\OSM\getbound\getbound.pl line 52, nea
r "<style type=""
(Might be a runaway multi-line "" string starting on line 50)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 52, n
ear "<style type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 120, ne
ar "<body class=""
(Might be a runaway multi-line "" string starting on line 52)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 120,
near "<body class="t4"
(Missing operator before t4?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 121, ne
ar "<script type=""
(Might be a runaway multi-line "" string starting on line 120)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 121,
near "<script type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 128, ne
ar "<script type=""
(Might be a runaway multi-line "" string starting on line 121)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 128,
near "<script type="text"
(Missing operator before text?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 131, ne
ar "{var po = document.createElement(""
(Might be a runaway multi-line "" string starting on line 128)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 131,
near "{var po = document.createElement("script"
(Missing operator before script?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 132, ne
ar "po.type = ""
(Might be a runaway multi-line "" string starting on line 131)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 132,
near "po.type = "text"
String found where operator expected at C:\OSM\getbound\getbound.pl line 132, ne
ar "javascript"; po.async = true;po.src = ""
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 132,
near ""; po.async = true;po.src = "https"
(Missing operator before https?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 133, ne
ar "var s = document.getElementsByTagName(""
(Might be a runaway multi-line "" string starting on line 132)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 133,
near "var s = document.getElementsByTagName("script"
(Do you need to predeclare var?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 137, ne
ar "<div class=""
(Might be a runaway multi-line "" string starting on line 133)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 137,
near "<div class="headbg"
(Missing operator before headbg?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 139, ne
ar "<div id=""
(Might be a runaway multi-line "" string starting on line 137)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\OSM\getbound\getbound.pl line 139,
near "<div id="gaia"
(Missing operator before gaia?)
String found where operator expected at C:\OSM\getbound\getbound.pl line 144, ne
ar "<a href=""
(Might be a runaway multi-line "" string starting on line 139)
(Missing semicolon on previous line?)
syntax error at C:\OSM\getbound\getbound.pl line 6, near "html>"
syntax error at C:\OSM\getbound\getbound.pl line 24, near ""profileUrl":"
syntax error at C:\OSM\getbound\getbound.pl line 34, near "title>"
Excessively long <> operator at C:\OSM\getbound\getbound.pl line 145.
Что-то ты явно не то запускаешь. Больше похожее на html
Командная строка как-то странно выглядит
liosha
Скачивал по ссылке указанной z3s. Правой кнопкой на файле, сохранить объект как…
А я так понимаю что нужно было открыть и выделить код и сохранить в текстовой файл и переименовать. Сам ступил короче.
Ezhick
Она выглядит так:
getbound.pl RU-MOS > RU-MOS.poly
еденичка как то сама добавляется.
liosha
Спасибо, теперь релейшен 51490 выкачивается (частями). Но так и не понял насчёт ключа --onering. Размер файла не меняется что с ключом что без.
Если мне нужно полифайл Московской области (без Москвы) скачать, как должен выглядеть запрос?
getbound.pl --onering RU-MOS > RU-MOS.poly
А если только Москва без области?
getbound.pl RU-MOS всегда будет скачивать МО без Москвы.
Но osm2mp возьмёт из него только 1-й контур, а дырки не заметит.
–onering сделан специально для osm2mp+cgpsmapper, чтобы оно работало с дырками, но с другим софтом работа не гарантируется.
Проверил, для gpsmapedit тоже годится
Э, а что оно делает с полифайлами?
Тупо соединяет все кольца в одно.
liosha
Получились у меня Московская область бубликом и отдельно Москва, но почему то в отличии от других областей в них пропал адресный поиск. Как в Навителе так и в 7дорог. Все остальные карты собирались точно также кроме того что poly файл выкачивался без --onering.
А как в версии 1.01_2 добавлять строки в заголовок (TypeSet=Navitel)?
Из командной строки получилось, а из cfg - нет.
упустил…
теперь можно
Здравствуйте!
Необходимо конвертировать тип точек, который не конвертируется по умолчанию. В конфиг-файл nodes-common добавил соответствующую запись —нужные точки стали конвертироваться, но без адреса, хотя у них есть атрибуты addr:housenumber и addr:street.
Что нужно в конфигах поправить (или хотя бы где), чтобы адреса этим точкам прописывались?
Не забыть им прописать contacts: 1
Большое спасибо, liosha
При запуске команды выдаёт ошибку:
Пожалуйста, помогите разобраться и убрать ошибку.
kimol, судя по всему, модуль std для Perl не установлен.