Opened 3 weeks ago
Last modified 10 days ago
#24711 new enhancement
boundaries.osm: Updated India's subdivisions, removed non-existing exclaves of Armenia & Azerbaijan
| Reported by: | westnordost | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
Updated the boundaries.osm:
India changed some subdivion's ISO codes, added a new state (Ladakh) and merged two others into one (Diu etc.)
Attachments (2)
Change History (14)
by , 3 weeks ago
| Attachment: | boundaries.osm added |
|---|
comment:1 by , 3 weeks ago
comment:2 by , 3 weeks ago
Ja, sorry deswegen. JOSM hat alle negativen IDs neu vergeben, so scheint es. Ich dachte es gäbee irgendwo speziell eine Einstellung / Modus für boundaries.osm Editing, aber habe es nicht mehr gefunden. Wäre super wenn das einfach automatisch erkannt werden würde und Josm entsprechend sein Verhalten verändert.
Änderungen im Detail sind:
- es gibt einige Exklaven / Enklaven zwischen Armenien und Azerbajijan die mitzlerweile auf OSM nicht mehr vorhanden sind. Das macht Armenien von einem Multiploygon zu einem Way.
- die änderungen für Indien kann man hier einsehen: https://en.wikipedia.org/wiki/ISO_3166-2:IN#Changes Also, einige Codes wurden umbenannt, Ladakh wurde als neue subdivision abgespalten von Jammu & Kashmir (nur wenige Vertices notwendig, da Grenze alles Gletscher), Diu&Daman wurde zusammengeführt mit Dadra&Nagar.
Das wars.
comment:3 by , 3 weeks ago
Kannst Du die evtl osm Datei mit osmium renumber bearbeiten auch vielleicht ein diff bereitstellen? Es gibt anscheinend für Windows kein fertiges Tool, mit dem ich das machen kann.
by , 3 weeks ago
| Attachment: | boundaries-renumbered.osm added |
|---|
same as boundaries.osm but ran osmium renumber --start-id=-1 --output=boundaries-renumbered.osm boundaries.osm on it
comment:5 by , 3 weeks ago
Thanks, unfortunately it doesn't help much. Besides some small formatting differences there are a lot more changes than expected. The reason is probably that you removed nodes and therefore a lot of existing nodes have a different id now.
comment:6 by , 3 weeks ago
Yes, the nodes of the ways that were exclaves/enclaves of Azerbaijan/Armenia were removed.
comment:7 by , 11 days ago
Sorry for the delay. You kept the empty relation for Armenia.
Was that intended?
The osm relation https://www.osm.org/relation/1952530 for "Dadra and Nagar Haveli and Daman and Diu" contains some more exclaves like https://www.osm.org/way/19685893. They are missing in the boundaries file. Intended?
comment:10 by , 10 days ago
If I do it anew, I'd rather use that mysterious JOSM option or setting to keep the ids as they are. But, where is it?
comment:11 by , 10 days ago
May Don-vip remembers the trick, I didn't find any so far, but I also don't know where to search for it :(
comment:12 by , 10 days ago
OsmReader has a SAVE_ORIGINAL_ID option, but I don't find it used anywhere. It would need an exporter as well. Didn't find any plugin using it.



Thanks for the attachment. Please, can you describe in detail the changed objects? In the mean time I'll try to create a patch to reduce the number of changed lines.