{"action":"created","issue":{"url":"https://api.github.com/repos/mapsme/omim/issues/9666","repository_url":"https://api.github.com/repos/mapsme/omim","labels_url":"https://api.github.com/repos/mapsme/omim/issues/9666/labels{/name}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/9666/comments","events_url":"https://api.github.com/repos/mapsme/omim/issues/9666/events","html_url":"https://github.com/mapsme/omim/pull/9666","id":369443541,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMzgyOTgx","number":9666,"title":"Generating city_roads section based on cities, town and villages.","user":{"login":"bykoianko","id":1768114,"node_id":"MDQ6VXNlcjE3NjgxMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1768114?v=4","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-12T08:08:46Z","updated_at":"2018-10-12T09:55:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/9666","html_url":"https://github.com/mapsme/omim/pull/9666","diff_url":"https://github.com/mapsme/omim/pull/9666.diff","patch_url":"https://github.com/mapsme/omim/pull/9666.patch"},"body":"Исследования показали, что кол-во дорожных фич, покрытых полигонами деревень (place=village, place= hamlet) соизмеримо  с кол-вом дорожных фич, покрытых городами. Исследования проводились на карте Беларусь, кроме Минска.\r\n\r\nНапример, \r\nдля Belarus_Hrodna Region.mwm\r\nдо учета village и hamlet секция city_roads занимала 29368 байт, а сейчас 46840\r\n\r\nдля Belarus_Maglieu Region.mwm\r\nдо учета village и hamlet секция city_roads занимала 19144 байт, а сейчас 29400\r\n\r\nТ.о. секцию city_roads, используемую для прокладки маршрутов имеет смысл генерировать на базе relation (type=boundary, multipolygon), у которых place=city, town, village.\r\n\r\nДанный PR реализует это.\r\n\r\n@maksimandrianov @tatiana-yan PTAL.\r\n\r\nМне не очень нравится, как я добавил в emitter генерацию границ для routing-га. Если будут лучшие идеи - пишите."},"comment":{"url":"https://api.github.com/repos/mapsme/omim/issues/comments/429272032","html_url":"https://github.com/mapsme/omim/pull/9666#issuecomment-429272032","issue_url":"https://api.github.com/repos/mapsme/omim/issues/9666","id":429272032,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI3MjAzMg==","user":{"login":"bykoianko","id":1768114,"node_id":"MDQ6VXNlcjE3NjgxMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1768114?v=4","gravatar_id":"","url":"https://api.github.com/users/bykoianko","html_url":"https://github.com/bykoianko","followers_url":"https://api.github.com/users/bykoianko/followers","following_url":"https://api.github.com/users/bykoianko/following{/other_user}","gists_url":"https://api.github.com/users/bykoianko/gists{/gist_id}","starred_url":"https://api.github.com/users/bykoianko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bykoianko/subscriptions","organizations_url":"https://api.github.com/users/bykoianko/orgs","repos_url":"https://api.github.com/users/bykoianko/repos","events_url":"https://api.github.com/users/bykoianko/events{/privacy}","received_events_url":"https://api.github.com/users/bykoianko/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T09:55:11Z","updated_at":"2018-10-12T09:55:11Z","author_association":"CONTRIBUTOR","body":"> попытаюсь понять, можно ли сделать общий промежуточный файл с cities, towns, villages а потом деревни отфильтровать на этапе создания секции с границами для world\r\n\r\nДа. Это можно сделать. Но тогда нужно менять формат файла. Кроме того, есть вероятность, что данный для World.mwm и для routing будут расходиться еще дальше. Т.е. мы захотим добавить что-то в секцию cities_boundaries в World.mwm и не захотим, чтоб это влияло на секцию city_roads."}}
{"actor":{"display_login":"bykoianko"}}