Ian Haylock wrote:

>> All edits are logged against the user id of the uploader anyway, so
>> that doesn't gain you anything
>
> Is this true with potatch as well ?

Yes, Potlatch treats the database in just the same way that JOSM and  
other tools do, even though the code and user interface are very  
different. In one way Potlatch is actually stricter in that it won't  
let you edit the map unless you've set your edits to be public (i.e.  
publically attributed to your user name).

> Just curious, but what would be involved in undoing  someones edits  
> in the database ?
> i.e. suppose I deleted a way, then uploaded the edit to the database.
>      Does sql delete all the data for the way in the database ? Or  
> just mark the data as deleted ?

It marks it as deleted. We store "history" for each way and node,  
just as Wikipedia does for articles. It's just that it's more complex  
to retrieve the history in a map than it is in a textual website.

When you select "undelete" in Potlatch, it looks for all the deleted  
ways that have deleted nodes in your current map view, and presents  
them all to you for recovery.

cheers
Richard

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to