apt install osmctools
belarus-osm-name-statistic.ipynb
Report contains information about different language tags as name
, name:prefix
, short_name
and etc:
Report contains progress and statistic reports, name
also contains dependants tags as addr:street
, destination
and etc. progress and statistic report.
In progress report popup can provide more information follow CSV
or overpass
links:
To create report run:
docker-compose run --rm management python belarus_report.py
python belarus_upd.py
Script contain two parts:
- language tag (as
name
) migration for elements that hastag
,tag:be
andtag:ru
tags - in this case just copyname:be
toname
- example: way1 has tags
name=улица Скарыны
,name:be=вуліца Скарыны
,name:ru=улица Скарыны
, set way1name
to way1name:be
value:name=вуліца Скарыны
- example: way1 has tags
name
dependant (asadd:street
) migration - find nearest element withname
,name:be
andname:ru
tags where dependant tag in this tags and copyname:be
to dependant tag- example: node1 has tag
addr:street=улица Скарыны
, find nearest element way1 with tagsname=вуліца Скарыны
,name:be=вуліца Скарыны
,name:ru=улица Скарыны
, set node1addr:street
to way1name:be
value:addr:street=вуліца Скарыны
- example: node1 has tag