[OSM-talk] Investigating missing relation

Frederik Ramm frederik at remote.org
Mon Jan 31 08:18:37 GMT 2011


Steve,

On 01/31/11 09:07, Steve Bennett wrote:
> Next question: is there a way to revert the deletion, or do I have to
> manually add it again to the various segments?

In our database, a relation is not a property of various segments. I.e. 
the pointers don't go from the segments to the relation, but from the 
relation to the segments. This means that undeleting the relation is a 
very simple operation (you do not have to touch all of its members - 
just upload one object).

As far as I remember you said you dislike JOSM and prefer online tools; 
in that case your tool of choice for this task would probably be 
osmrawedit, more specifically the URL

http://rawedit.openstreetmap.fr/edit/relation/413916/edit

together with a previously downloaded last-good-version of the said 
relation, i.e.

http://api.openstreetmap.org/api/0.6/relation/413916/61

You might encounter difficulties in uploading if one or several of the 
ways used by the relation don't exist any more; in that case just follow 
a similar procedure for those ways, the IDs of which you can see from 
the error message.

Bye
Frederik



More information about the talk mailing list