Hi,

Tom Chance wrote:
> Is it possible to revert all the changes to relations in changeset 2458838?
> http://www.openstreetmap.org/browse/changeset/2458838

Done.

For the record:

1. wget -O foo 
'http://api.openstreetmap.org/api/0.6/changeset/2458838/download'

2. grep relation foo |grep id|cut -d\" -f2 > bar

3. perl changeset.pl create

(note number of created changeset)

4. while read id; do perl undo.pl relation $id 2458838 
(number_from_step3); done < bar

5. perl changeset.pl close (number_from_step3) "revert relation edits 
from changeset 2458838 on request of Tom Chance"

This procedure reverts all relations touched in the given changeset back 
to what they were before.

PLEASE DO NOT USE THIS IF YOU DO NOT UNDERSTAND IT.

Bye
Frederik


_______________________________________________
Talk-GB mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to