[OSM-talk] Argh! Just deleted lots from OSM by mistake

Etienne 80n80n at gmail.com
Tue Aug 1 12:33:05 BST 2006


On 8/1/06, matthew-osm at newtoncomputing.co.uk <
matthew-osm at newtoncomputing.co.uk> wrote:
>
> On Tue, Aug 01, 2006 at 01:57:12AM +0100, Etienne wrote:
> > In principle I think you would need to remove the action='delete'
> attributes
> > and change the ids of all the deleted elements (and any references to
> them)
> > from positive to negative.
> >
> > Try it on a very small test file first.
>
> OK, I tested with a small way. Created a file with the nodes, segments,
> and way,
> exactly as the "action='delete'" file, but altered all the action='delete'
> to
> action='modify'. Uploading this with JOSM undeleted everything, leaving
> the same
> IDs as before.


It would be worth putting this solution on the wiki somewhere so that the
next person to do this (probably me) can refer to it.

It's just finished uploading all the corrections now. Most things seem OK,
> although there are a few missing bits that I'll sort out.
>
> Sorry if I've inadvertently stomped on changes that other have made by
> doing
> this. Hopefully all back to normal-ish now!
>
> Thanks for your help!
>
> --
> Matthew
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060801/3734fdee/attachment.html>


More information about the talk mailing list