[OSM-talk] Can not remove a way from a relation

Shaun McDonald shaun at shaunmcdonald.me.uk
Tue Jan 27 21:16:28 GMT 2009

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?


> 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 at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk

More information about the talk mailing list