OpenStreetMap

Yury Yatsynovich's Diary

Recent diary entries

Обращение к сообществу OSM и к его участникам!

Россия вероломно напала на Украину 24 февраля 2022 года, нанося ракетно-бомбовые удары по аэропортам, воинским частям и объектам гражданской инфраструктуры. Это явилось очередной эскалацией военных действий, начавшихся в 2014 году с момента захвата Крыма и частичной оккупации Донецкой и Луганской областей.

Мы, сообщество OSM Украина, в связи с продолжающимся военным вторжением России на территорию Украины обращаемся к людям, которые вносят свой вклад в развитие и улучшение данных OSM.

Мы призываем всех воздержаться от какого-либо маппинга на территории Украины в данный момент!

Российско-украинская война идет на многих фронтах, в том числе и на информационном. Возможное использование российскими захватчиками открытых данных для планирования атак на военные и гражданские объекты является одной из важнейших причин, по которой мы просим не предпринимать каких-либо действий по маппингу объектов на территории Украины.

В случае обнаружения случаев маппинга, касающегося военных объектов или объектов критической социальной инфраструктуры, мы будем их корректировать (удалять, видоизменять, откатывать к предыдущему состоянию и т.д.), а также обращаться в DWG и в другие рабочие группы OSMF для блокирования участников, которые систематически вносят подобные изменения (больше одного).

Такая просьба (требование) перекликается с положениями статьи 114-2 Криминального кодекса Украины, согласно которой “Распространение информации о перемещении, движении или расположении Вооруженных Сил Украины или других образованных в соответствии с законами Украины военных формирований, при возможности их идентификации на местности, если такая информация не размещалась в открытом доступе Генеральным штабом Вооруженных Сил Украины, совершенное в условиях военного или чрезвычайного положения, наказывается лишением свободы на срок от пяти до восьми лет” (https://zakon.rada.gov.ua/laws/show/2160-20#n10).

Источник: https://wiki.openstreetmap.org/wiki/RU:Russian-Ukrainian_war

An appeal to the OSM community and its members!

Russia treacherously attacked Ukraine on 24 February 2022, striking with missiles and bombs at airports, military bases and civilian infrastructure. This was another escalation of hostilities that began in 2014 with the annexation of Crimea and the partial occupation of Donetsk and Luhansk Regions.

On behalf of the OSM Ukraine in connection with Russia’s ongoing military invasion of Ukraine we are turning to people who are contributing to the development and improvement of the OSM data.

We urge everyone to refrain from any mapping of the territory of Ukraine at the moment!

The Russo-Ukrainian War is unfolding on many fronts including the information one. The possible use of open data by Russian invaders to plan attacks on military and civilian objects is one of the most important reasons why we ask you not to perform any mapping of objects in Ukraine.

We shall take action to amend (delete, modify, revert to the previous state etc.) any found cases of mapping related to military or critical social infrastructure facilities as well as contact the DWG and other OSMF working groups to ban the users who systematically make similar changes (more than one).

Such a request (demand) echoes the provisions of the Article 114-2 of the Criminal Code of Ukraine according to which “Dissemination of information on redeployment, movement or location of the Armed Forces of Ukraine or other military formations established in accordance with the laws of Ukraine, if it is possible to identify them on the ground, if such information is not published by the General Staff of the Armed Forces of Ukraine, committed under martial law or state of emergency, shall be punishable by imprisonment for a term of five to eight years” (https://zakon.rada.gov.ua/laws/show/2160-20#n10).

From https://wiki.openstreetmap.org/wiki/Russian-Ukrainian_war

Here was the idea: 1) Combine Fremont buildings layer (pretty detailed) with MS buildings (poor details, but no substantial biases). Then, for a centroid of each F-building, find the offset to a corresponding centroid of an MS-building. Finally, look at the distribution of such offsets for the nearest 50-100 F-buildings and take the median as an estimate of the offset by which a given F-building should be moved before importing it into OSM

Here is the result (red polygons are the original ones, blue – after the adjustment using the MS building footprint layer): https://drive.google.com/file/d/1IeNMu8r6iHjvmt7yOxO06Uggra8sI4os/view?usp=sharing

Looks pretty good to me! :)

1) Combine Fremont buildings layer (pretty detailed, nicely aligned) with MS buildings (poor details, but no substantial biases) … for a centroid of each F-building, find the offset to a corresponding centroid of an MS-building … look at the distribution of such offsets for the nearest 50-100 F-buildings and take the median as an estimate of the offset by which a given F-building should be moved before importing it into OSM

2) For each building compute distribution of angles at nodes, split all buildings into two groups: (a) building with all angles ~90 degrees – these building can be orthogonalized with “Q” in JOSM (or in QGIS) before uploading to OSM (b) buildings that have any angle that is significantly different from 90 degrees (define via hypothesis testing?) – these should be imported without othrogonalization

Greetings!

Please, find a link to an archive with my code, inputs and resulting “open_in_JOSM_and_upload.osm”-file below: https://drive.google.com/file/d/14ECmeyQN8HMrITfcsa3Nw3BfAv8Fi687/view?usp=sharing

Despite the name of the resulting file – “open_in_JOSM_and_upload.osm” – this file has attribute [upload=’never’] which should prevent accidental upload of it. But, just in case, let me make it explicit: THE FILE “open_in_JOSM_and_upload.osm” IS PRODUCED ONLY FOR REVIEW BY OSM COMMUNITY, IT MAY CONTAIN SERIOUS ERRORS, PLEASE, DO NOT UPLOAD IT!

The archive also includes a README .pdf-file that describes in simple language my approach to matching address points with OSM buildings.

The script file, “import_sf_addresses.py”, should run in a standalone mode (like “python3 import_sf_addresses.py”) if you have all required libraries installed, but I ran it step-by-step.

Should you have any questions, I’d be happy to reply. Looking forward to receiving your feedback!

With kind regards, Yury Yatsynovich

If M objects randomly change their characteristics every period (POIs open/close, buildings constructed/demolished, roads re-named/paved, etc.), while the OSM community checks and updates U randomly picked objects per period, then the accuracy of the map (the share of objects that are up-to-date) approaches 1/(1+M/U). Does anybody have guesstimates for the values of M and U?

О будущем карт

Posted by Yury Yatsynovich on 1 December 2013 in English.

Оцифруют же когда-то каждый клочок земли, тропинку, здание автоматически – и станет обидно за свои кривые линии, угадываемые за облаками границы лесов, вбиваемые вручную названия объектов – и часы, даже недели времени, что потратил на это все, и что в конечном счете оказались ненужны… Хорошо, если еще этот алгоритм распознавания будут калибровать на ручных правках. Вот такая грустная мысль)