#3889 closed defect (fixed)
Upload of a single way gives changeset with lots of other existing ways
Reported by: | Ldp | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
I downloaded an area in a new layer and added a single building (copy/pasted it from another layer). Then I uploaded, but the changeset now contained that building, and *lots* of other ways that I had downloaded. No existing nodes were uploaded, just lots of ways.
The way I added:
http://www.openstreetmap.org/browse/way/44098703
The changeset JOSM created:
http://www.openstreetmap.org/browse/changeset/3082764
JOSM 2427
Attachments (1)
Change History (10)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 16 years ago
Tried again with 2431 & 2436, with and without plugins and also doing ant clean ; ant dist.
- Open JOSM.
- Drop a .osm on it with things to import. Every element is still unknown to OSM (negative id)
- Zoom in to near building to import.
- File -> New, File -> Download from OSM
- Activate first layer, select building, Copy, select OSM layer, Paste
- Press upload
The upload dialog says that it wants to add 9 nodes and a way. That's fine, that's my new building. It also says it wants to *modify* 76 other objects. Objects which happen to be in the same area I downloaded from OSM, but which I definately didn't touch.
The thing you did differently is to create both layers in the same session. That works for me too. Try creating an object and save it as .osm. Doesn't have to be a building. I also triggered this bug with an untagged 4-node area. Then restart, open JOSM, open/drag the .osm on JOSM, etc. Same as I did.
by , 16 years ago
Attachment: | test-ticket-3889.osm added |
---|
Test file, as mentioned in the previous comment
comment:3 by , 16 years ago
Same happend to me. Command stack lists 30 changes, Upload tried to edit 5000 additional ways.
Resulting changeset after cancelling upload: http://www.openstreetmap.org/browse/changeset/3086373
- JOSM 2417 (from Website), many plugins (updated today)
- only one layer
- First Upload was OK
Saving results in a .osm file with > 5000 ways marked with action='modify'
(in addition to the 5 relations and 6 points I actually changed.
Steps:
- Downloaded map data
- Edited
- Uploaded (OK)
- Downloaded more map data
- Edited
- Uploading broken
comment:5 by , 16 years ago
No, as I said above: I tried 2431 and 2436.
The #3804 cases also sound distinctly different.
comment:6 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Dounds like the data merge function sets "modified" flag also for downloaded data.
comment:9 by , 16 years ago
First tests (with 2447) look good. I cannot reproduce what I described above.
I tried to reproduce:
==> everything is fine.
Anything else which is special in your case? Did you really upload the layer which only included one new building? What did the upload dialog show? Just a couple of nodes and one way to upload?