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

Dean Earley dean at earlsoft.co.uk
Sun Sep 3 14:22:34 BST 2006


Dean Earley wrote:
> 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.

Thinking about it more, this will still include them in the saved OSM 
file so the ID and .deleted will need to be checked during save as well...

-- 
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