Re: [OSM-talk] Can not remove a way from a relation
Erik Lundin wrote: But how can the nodes be listed as members of way 29370058 when they are deleted? http://lists.openstreetmap.org/pipermail/dev/2009-January/013540.html and passim cheers Richard -- View this message in context: http://www.nabble.com/Can-not-remove-a-way-from-a-relation-tp21627258p21702801.html Sent from the OpenStreetMap - General mailing list archive at Nabble.com. ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Thanks! Erik Richard Fairhurst skrev: Erik Lundin wrote: But how can the nodes be listed as members of way 29370058 when they are deleted? http://lists.openstreetmap.org/pipermail/dev/2009-January/013540.html and passim cheers Richard ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Hi, I had a similar problem earlier this month. The correspondence can be found in the mail archives: http://lists.openstreetmap.org/pipermail/talk/2009-January/thread.html#33157 The problem is that JOSM gets an error while uploading a relation that references a non-existent way. I wrote a little perl script to find relations referencing non-existent ways or ways referencing non-existent nodes. Using the script I found that the relation (21359) contains a reference to way 8135282, which was deleted on January 5th (http://www.openstreetmap.org/browse/way/8135282/history). I tried to remove the way from the relation, but get the same error while uploading. Last time it was Frederik Ramm who removed the reference to the non-existent way (http://lists.openstreetmap.org/pipermail/talk/2009-January/033167.html), so maybe he knows how to do. Erik ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
On 27 Jan 2009, at 20:46, Erik Lundin wrote: Hi, I had a similar problem earlier this month. The correspondence can be found in the mail archives: http://lists.openstreetmap.org/pipermail/talk/2009-January/thread.html#33157 The problem is that JOSM gets an error while uploading a relation that references a non-existent way. I wrote a little perl script to find relations referencing non-existent ways or ways referencing non- existent nodes. Using the script I found that the relation (21359) contains a reference to way 8135282, which was deleted on January 5th (http://www.openstreetmap.org/browse/way/8135282/history). I tried to remove the way from the relation, but get the same error while uploading. There could be another way that has been deleted, or there is a node that is reference by a way that is missing. Does your script look at those? Shaun Last time it was Frederik Ramm who removed the reference to the non-existent way (http://lists.openstreetmap.org/pipermail/talk/2009-January/033167.html ), so maybe he knows how to do. Erik ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Shaun McDonald sh...@shaunmcdonald.me.uk writes: On 27 Jan 2009, at 20:46, Erik Lundin wrote: Hi, I had a similar problem earlier this month. The correspondence can be found in the mail archives: http://lists.openstreetmap.org/pipermail/talk/2009-January/thread.html#33157 The problem is that JOSM gets an error while uploading a relation that references a non-existent way. I wrote a little perl script to find relations referencing non-existent ways or ways referencing non- existent nodes. Using the script I found that the relation (21359) contains a reference to way 8135282, which was deleted on January 5th (http://www.openstreetmap.org/browse/way/8135282/history). I tried to remove the way from the relation, but get the same error while uploading. There could be another way that has been deleted, or there is a node that is reference by a way that is missing. Does the API verify the integrety of a way that is referenced in a relation and that itself is not being uploaded? Matthias ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Shaun McDonald skrev: There could be another way that has been deleted, or there is a node that is reference by a way that is missing. Does your script look at those? Yes, it does. I tested to remove a couple of ways and nodes, and the script detected all faulty references. The script is attached to this mail. It's not fancy (ie. it has no xml parsing), but I think it's working. You just have to run it on a file containing the osm data of a relation and related ways and nodes. To achieve this, select to download incomplete members in the relation editor of JOSM. Erik findBadReferences.pl Description: Perl program ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
nodes. Using the script I found that the relation (21359) contains a reference to way 8135282, which was deleted on January 5th (http://www.openstreetmap.org/browse/way/8135282/history). I tried to remove the way from the relation, but get the same error while uploading. There could be another way that has been deleted, or there is a node that is reference by a way that is missing. I've managed to undelete the way - and using Potlatch remove the way from both relations (the E20 and E6 Euro-route relations) - and then re-delete the way. All seems to have worked ok at first glance - and the way is no longer showing in the list of ways in http://www.openstreetmap.org/browse/relation/21359. However - I tried to use JOSM to add a way to the relation - and it still gave a 412 Precondition Failed response. Sounds like there could be other ways with referential problems somewhere along the line. Richard B ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Hi, Richard Bullock wrote: However - I tried to use JOSM to add a way to the relation - and it still gave a 412 Precondition Failed response. I made the relation editable again by removing way #29370058 from it. I have not investigated why this way causes trouble; it probably references a deleted object or something like that. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Hope to get some advice on how to fix this. I'd be tempted to try using Potlatch. I've just tried in Practice mode. There seem to be a strange combination of ways on that stretch (4596756, 4596752 and 25612631 - where 25612631 seems to be longer than the other two put together, but not as far as I can get to work here selectable using the / key in Potlatch). However, you can select the shorter ways and click the x next to the relation name to remove that way from the relation. Deselect the way to save changes to the relation, then once saved reselect it and press Shift-Delete to delete the way. In Practice mode I seemed to have to delete a few ways to just be left with 25612631, assuming that is what you are trying to achieve, but the deleted ways seem to come back, so probably don't delete in practice mode. Anyway, as I don't know what you're doing I don't want to try it in live mode. Ed ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
Gerda og Carsten gerdaogcars...@toensberg.dk writes: I am unable to remove way http://www.openstreetmap.org/browse/way/4596756 from the relation http://www.openstreetmap.org/browse/relation/21359 I am thus also unable to delete way 4596756 which is overlapping another way also beeing part of the relation. I am using JOSM and get en error when I try to upload the relation after having taken way out of the relation. It might be helpful to know what the error is. The console output of JOSM might be interesting, too. I can see that this relation has more than thousand ways, and I think this could be the problem. You get the error after a fresh download of the relation? Such a huge relation has a large potential for conflicting edits because many people might want to edit it at the same time. However, I can't really think of why uploading a new version of a relation could create a conflict for the API. Maybe JOSM runs into a timeout with a large object like this when the server is under load. Again, what is the error? Matthias ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Can not remove a way from a relation
It might be helpful to know what the error is. The console output of JOSM might be interesting, too. I have placed Console end error out put here: http://www.toensberg.homeip.net/osm/RelationProblem/JOSMout.txt And a bitmap of the dialog I see can be found here: http://www.toensberg.homeip.net/osm/RelationProblem/JOSM%20dialog.bmp The text in the dialog is in danish but translates to something like Transfer is canceled due to an error (waiting five seconds)412 Precond You get the error after a fresh download of the relation? Such a huge relation has a large potential for conflicting edits because many people might want to edit it at the same time. However, I can't really think of why uploading a new version of a relation could create a conflict for the API. Yes in order to reprouce the problem I launsh JOSM, load the area from abookmark, requests a validation selects the way 4596756 removes the relation attribute from the way, accepts the dialog and Uploads the data to the server. Maybe JOSM runs into a timeout with a large object like this when the server is under load. Again, what is the error It seems like the relation have not been modifed since 20th january so an upload conflict should not be the reason. ablanisnger ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk