Modify ↓
#12197 closed defect (wontfix)
JOSM is changing the IDs
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | IDs | Cc: |
Description (last modified by )
If you open a osm file, change nothing, and save it back, all/many IDs are changed.
I don't understand this behavior and if it's possible to change it. I don't see any other option …
Attachments (0)
Change History (2)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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:
foo.osm
(the node has ID-1
), close JOSMbar.osm
(the node has ID-1
), close JOSMfoo.osm
andbar.osm