Automated edits/Ian Wagner
This page documents automated edits performed or coordinated by Ian Wagner.
August 11-12, 2018 - Korean Romanisation Tag Clean-up
Status: COMPLETED
Overview
As discussed in the OSM Korea mailing list, in IRC, and over the unofficial OSM Korea Telegram channel, we decided to clean up the tags used for romanised names on the Korean peninsula (we also fixed the neighbors as well for consistency). This has also been discussed for Japan, but that group will be coordinated separately.
Process
We used JOSM to re-tag anything using a ko_rm
language code to use ko-Latn
instead, as the former does is not in conformance with the BCP 47 standard. Documentation for the Korea Naming Convention on the wiki is up to date with this policy. We also cleaned up additional related language tags that we found were incorrect, including language-specific tags using kr
instead of ko
.
The edits touched around 150 000 objects. To ensure that we did not unduly load the server, we will worked through the peninsula systematically using appropriately sized bounding boxes determined using the tile numbering scheme.
Status
We coordinated our efforts via a Google Sheet. We have reproduced the changelog below. Many thanks to Artemis64, revi^, and panoramedia for their collaboration on this.
Tile based edits
Other edits
Changeset | Comments |
---|---|
https://www.openstreetmap.org/changeset/61582586 | Cleanup of ko_Latn tags |
https://www.openstreetmap.org/changeset/61583344 | Cleanup of ko_Latn tags |
https://www.openstreetmap.org/changeset/61583983 | Final cleanup of misc incorrect tags using regex key search |
https://www.openstreetmap.org/changeset/61612563 | Worldwide checks and fixes on ko_rm tags (Asia) |
https://www.openstreetmap.org/changeset/61612596 | Worldwide checks and fixes on ko_rm tags (Oceania) |
https://www.openstreetmap.org/changeset/61612657 | Worldwide checks and fixes on ko_rm tags (Africa) |
https://www.openstreetmap.org/changeset/61614317 | Worldwide checks and fixes on ko_rm tags (Europe) |
https://www.openstreetmap.org/changeset/61614353 | Worldwide checks and fixes on ko_rm tags (North America) |
https://www.openstreetmap.org/changeset/61614368 | Worldwide checks and fixes on ko_rm tags (South America) |
Steps taken
These were extracted from the Google Sheets file in case the file ever gets lost.
Set-up
- Get JOSM
- Enable expert mode in the preferences.
For each tile
- Put your OSM username in the edit log by the tile so someone else doesn't do the same work twice
- Open the download view and select the "Download from Overpass API" options
- Enter the query below (you actually only need to do this once; it will remember it)
[out:xml][timeout:25][bbox:{{bbox}}]; ( node[""name:ko_rm""]; way[""name:ko_rm""]; relation[""name:ko_rm""]; node[""addr:city:ko_rm""]; way[""addr:city:ko_rm""]; relation[""addr:city:ko_rm""]; node[""addr:street:ko_rm""]; way[""addr:street:ko_rm""]; relation[""addr:street:ko_rm""]; node[""alt_name:ko_rm""]; way[""alt_name:ko_rm""]; relation[""alt_name:ko_rm""]; node[""bridge:name:ko_rm""]; way[""bridge:name:ko_rm""]; relation[""bridge:name:ko_rm""]; node[""name:kr""]; way[""name:kr""]; relation[""name:kr""]; ); (._;>;); out meta;
- Enter the tile number in the download window under "tile numbers" using the format specified and press ↵ Enter (it's silly; you have to do this or it won't register)
- Search for the following, and optionally set it to replace your current selection.
"name:ko_rm" = * or "addr:city:ko_rm" = * or "addr:street:ko_rm" = * or "alt_name:ko_rm" = * or "bridge:name:ko_rm" = * or "name:kr" = *
- Look for any tags with something like ko_rm and replace the ko_rm with ko-Latn (NOTE THE SPELLING). Also keep an eye out for anything with name:kr, as this is wrong and should be name:ko
- Push your changeset and note the changeset in the edit log. I'd recommend using a chunk size of 500 to break things up. Repeat :)