Changes between Initial Version and Version 1 of Ticket #12197


Ignore:
Timestamp:
2016-01-04T19:28:30+01:00 (10 years ago)
Author:
simon04
Comment:

Since the negative ID might already be in use in an other layer, JOSM replaces any ID <0 with a freshly generated one, see org.openstreetmap.josm.data.osm.OsmPrimitive#OsmPrimitive(long, boolean)

Consider:

  1. Start JOSM, create node, save as foo.osm (the node has ID -1), close JOSM
  2. Start JOSM, create node, save as bar.osm (the node has ID -1), close JOSM
  3. Open foo.osm and bar.osm

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12197

    • Property Resolutionwontfix
    • Property Status newclosed
  • Ticket #12197 – Description

    initial v1  
    11If you open a osm file, change nothing, and save it back, all/many IDs are changed.
    2 I don't understand this behavior and if it's possible to change it.
     2I don't understand this behavior and if it's possible to change it. I don't see any other option  …