Opened 16 years ago
Closed 16 years ago
#1316 closed defect (fixed)
No error message when deletion of ways fails with "precondition failed"
Reported by: | anonymous | Owned by: | framm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
I have a way which is partly overlapped by two other ways. As the two overlapping ways are using the same nodes and the same name / highway type, the two ways are clearly editing errors. BTW, the two ways are member of a relation.
So I tried to fix this by deleting the two overlapping ways in JOSM. I uploaded the changes I've made. The uploading process seems to work, as I get no error message.
But when I download the area again after a restart of JOSM, the overlapping ways are still existent.
I've attached two .osm-files:
test.osm: The original area with no change.
test2.osm: In this file the overlapping ways are deleted.
A capture of the communication packets between JOSM and OSM API are available on request. BTW, I'm using the latest version, rev 735.
ID's of the two overlapping ways: 25669152 & 24908624
ID of the affected relation: 19625
Map URL: http://www.informationfreeway.org/?lat=50.0302917539414&lon=10.231672139709922&zoom=17&layers=0000F0B0F
Attachments (2)
Change History (5)
by , 16 years ago
comment:1 by , 16 years ago
Priority: | major → minor |
---|---|
Summary: | Overlapping ways are not deleted → No error message when deletion of ways fails with "precondition failed" |
You cannot delete ways that are part of a relation. The API will refuse this deletion. It may be possible that JOSM does not show this error message properly (which would be the bug we should fix, and I have changed the report title accordingly). Remove the ways from the relation and you will be able to upload your changes.
comment:2 by , 16 years ago
Sorry, but your hint to remove the ways from the relation didn't work for me. I removed the way 24908624 from the relation, and uploaded the changes in the relation to the server. But the capture shows a 412 Precondition Failed in response to the PUT I got from the server. http://api.openstreetmap.org/api/0.5/relation/19625 shows that way 24908624 is still a member of the relation.
Before deletion of the two ways