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:beandtag:rutags - in this case just copyname:betoname- example: way1 has tags
name=улица Скарыны,name:be=вуліца Скарыны,name:ru=улица Скарыны, set way1nameto way1name:bevalue:name=вуліца Скарыны
- example: way1 has tags
namedependant (asadd:street) migration - find nearest element withname,name:beandname:rutags where dependant tag in this tags and copyname:beto dependant tag- example: node1 has tag
addr:street=улица Скарыны, find nearest element way1 with tagsname=вуліца Скарыны,name:be=вуліца Скарыны,name:ru=улица Скарыны, set node1addr:streetto way1name:bevalue:addr:street=вуліца Скарыны
- example: node1 has tag

