[josm-dev] BUG: JOSM multipolygon upload

Gabriel Ebner ge at gabrielebner.at
Sat Oct 13 16:02:39 BST 2007


On Fri, Oct 12, 2007 at 11:03:54PM +0200, Igor Brejc wrote:
> On http://igorbrejc.ehost-services102.com/osm/bug_multipolygon.zip you 
> can download an example of an OSM file which, after you upload changes 
> to OSM server and then click again on upload button (without actually 
> changing anything), the JOSM asks to upload the same changes again as if 
> the previous changes upload weren't registered. You can upload the 
> changes as many times as you like, but JOSM will still behave as if 
> there are pending changes to upload.

I think you ran into 3 bugs here.  Firstly, you had some empty ways in your
OSM files.  Older JOSM versions did not handle incomplete ways (i.e. ways
references by relations, but not present in the OSM file), so they just
outputted empty ways.  Furthermore, merging them was not supported either, so
you were stuck with them.  (Just opening the file and redownloading the whole
area with a JOSM version after r379 should fix that.)

However you also had one empty relation (one tag, no members) in your OSM
file.  It shouldn't be uploaded twice either, but I don't know if it should be
accepted by the API.  Frederik?

  Gabriel.




More information about the josm-dev mailing list