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

Dean Earley dean at earlsoft.co.uk
Sun Sep 3 14:45:10 BST 2006


>>>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...
> 
> Not a bugfix, but maybe a suggestion for a workarround:
> Save the data Layer into an osm File. Restart josm and have a look if they are 
> still in the list.

Yes, they do still appear in the OSM file and render.
Once deleted, they are no longer visible in JOSM at all, even without a 
reload.

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