Modify

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)

boundaries.osm (2.7 MB ) - added by westnordost 3 weeks ago.
boundaries-renumbered.osm (2.6 MB ) - added by westnordost 3 weeks ago.
same as boundaries.osm but ran osmium renumber --start-id=-1 --output=boundaries-renumbered.osm boundaries.osm on it

Change History (14)

by westnordost, 3 weeks ago

Attachment: boundaries.osm added

comment:1 by GerdP, 3 weeks ago

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.

comment:2 by westnordost, 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 GerdP, 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 westnordost, 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:4 by westnordost, 3 weeks ago

Sure, here you are.

comment:5 by GerdP, 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 westnordost, 3 weeks ago

Yes, the nodes of the ways that were exclaves/enclaves of Azerbaijan/Armenia were removed.

comment:7 by GerdP, 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:8 by westnordost, 11 days ago

No, I guess nothing that doesn't match the boundaries on OSM is intended

comment:9 by GerdP, 11 days ago

OK. Please can you provide a new renumbered file?

comment:10 by anonymous, 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 GerdP, 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 stoecker, 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to westnordost.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.