Note
Scripted imports and automated edits should only be carried out by those with experience and understanding of the way the OpenStreetMap community creates maps. See the Import/Guidelines and Automated Edits/Code of Conduct for more information.
- Uses tilereduce - osm-tag-stats to extract
nametags which don't havename:kn tags(seetags.jsonfile for filters). - Uses geojson output of tilereduce and converts to csv for easy translation.
- Uses osmapi a python module to upload the changed
name:kntags to OPenStreetMap. (add user credentials inupload.pyscript)
Sample CSV
id,type,name:kn
4305340953,node,<your-translation>
.....
Arguments required
username: OpenStreetMap username
(Note: Create your test account in OSM dev server if you are testing. You need to create your custom data while testing)userPassword: Your associated account password (****)inputFile: Inputcsvfile with translationsinputLanguage: Language-code tag to which the translations are updated (examplekn)logFile: A log file which logs all the activities
How to execute
python upload.py <osm-username> <password> <inputfile.csv> <languagecode> <outputLog>