[OSM-talk] JOSM wishlist: forget and undo download

Matthias Julius lists at julius-net.net
Sat May 19 09:10:16 BST 2007


Frederik Ramm <frederik at remote.org> writes:

> A potential problem with this is that even deleted items count towards 
> references, so you cannot "forget" a segment if you have deleted the way 
> that contained the segment - the way still holds a reference to the 
> segment, but you cannot "forget" the way as it is invisible! The reason 
> for also counting deleted items is that you could undo the deletion 
> anytime (but you cannot undo the forgetting - it is recorded nowhere), 
> and thus if you first delete a way, then forget the segments, then undo 
> the deletion, you end up with an incomplete way, or if the same thing 
> happens with segments and nodes, you have an invalid segment.

This sounds like logical behavior to me.

>
> Would the function be useful as it is? Should it refuse to "forget" 
> items which have unsaved changes?

It could ask the user.

Matthias





More information about the talk mailing list