[OSM-dev] JOSM including new deleted items in the saved OSM file

Dean Earley dean at earlsoft.co.uk
Sun Sep 3 14:17:47 BST 2006


Hi Imi.

(I'm posting to this list to get comments from any others that know java )

When items are added in JOSM, then deleted before an upload, they are 
left in the saved OSM files. Unfortunately, this causes unsightly lines 
from one end to 0,0 when that OSM file is rendered in OSMARender.

I have had a look at the code, and it looks like they should be removed 
in OsmDataLayer.cleanData/cleanIterator but they aren't as they aren't 
ever added to the list to be processed.

Is it just a matter of checking the ID is < 0 in cleanIterator?

Thanks.

-- 
Dean Earley, Dee (dean at earlsoft.co.uk)

irc:    irc://irc.blitzed.org/
web:    http://personal.earlsoft.co.uk
phone:  +44 (0)780 8369596




More information about the dev mailing list