[OSM-talk] Undo request button for changesets

Yann Coupin yann at coupin.net
Tue Jul 14 23:21:38 BST 2009


What would also be convenient would be a way to display older version  
in the browse history page. Take this way for instance:

http://www.openstreetmap.org/browse/way/23820548/history

The map on the top right overlays the current version on top of the  
tiles. But what if I want to see how it looked as version 4. I can  
click changeset 1793367 but it won't help, it would be great if the  
version was a link that changed the map to display the previous  
version. I understand that it would require to also get the nodes as  
they were at the time the changeset was created, but that would be a  
step in the right direction.

Also sometimes reverting a full changeset is more than needed,  
reverting a single object is all you want, and while it's possible by  
downloading an older version and modifying the XML by hand, it's  
certainly time consuming, and like others have said, reverting change  
should not take a lot more time than creating change.

Yann

Le 14 juil. 09 à 20:52, MP a écrit :

> I think the worst case to revert is mass deletion - only Potlatch have
> some facilities to find deleted lines given a BBOX, and only lines,
> not POIs or relations. Such deletion is quite hard to spot.
>
> As for reverting changesets - there is list of nodes/ways/relations
> that was either added, changed or deleted in the changeset XML, so for
> changed stuff, you can retrieve the previous version from history
> (using the version from changeset as the "id of old version"), for new
> stuff, you add action="delete" into the XML and for deleted stuff, you
> recreate the last version (could be a bit tricky for deleted ways with
> nodes, as you'll have to mangle the ID's a bit ...)
>
> It shouldn't be probably hard to write such a thing ... perhaps some
> of existing tools can be just a little adapted to produce this.
>
> Load this into JOSM, use the conflict resolution in there to sort
> things out (if someone tries to fix the thing manually) and upload
> ..... changeset effectively reverted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090715/120daaec/attachment.html>


More information about the talk mailing list