[OSM-talk] revert.pl
andrzej zaborowski
balrogg at gmail.com
Fri Sep 4 01:02:23 BST 2009
2009/9/4 Richard Weait <richard at weait.com>:
> At the risk of trifling with things that I do not fully understand[1],
> I've been using revert.pl to revert a changeset of my own. I blew it
> and imported a file with "bad things"[2] and want to undo the mess.
>
> I have revert.pl fresh from svn today, and it runs, but eventually stops with
> "node 481692883 cannot be retrieved: 500 Internal Server Error"
>
> I've run it four times and it gets a few thousand nodes further each time.
>
> Any suggestions for successfully reverting this large changeset?
Since it's all creations in this changeset, you can simply download
the changeset from
http://www.openstreetmap.org/api/0.6/changeset/2354740/download ,
replace the <create> tag with <delete> and upload using
http://www.openstreetmap.pl/balrog/bulkupload/upload.py
It'll probably fail with error 500 because there are so many elements
and the server seems unstable, so you can split the changeset using
http://www.openstreetmap.pl/balrog/bulkupload/split.py and upload in
reverse order, it should still be much quicker than using the revert
tool.
Cheers
More information about the talk
mailing list