OpenStreetMap

JOSM Drama

Posted by gecho111 on 9 July 2016 in English.

When uploading building footprints for Regina SK last week I had a bit of an oopsie. I had completely forgot that for very large uploads JOSM can finish uploading and close a changeset yet not reflect this in the UI. The result is that it looks like it is still uploading and will continue to show this forever. So I hit cancel and started the upload again, but limiting it to chunks of 10,000 objects. Then while waiting for that upload I looked at the slippy map, and the objects were already there, doh!

So I immediately cancelled the second upload, and downloaded the area in a new layer revealing tens of thousands of untagged duplicate nodes / ways representing building footprints. Fortunately it appears that JOSM first uploads the nodes / ways before applying any tagging to them, and I managed to stop the second upload while it was still uploading untagged objects. So I was able to use a JOSM filter (type:way addr) to isolate the untagged buildings from the tagged buildings in the same position. Then I carefully removed untagged objects while avoiding anything valid the filter failed to hide.

A few times in the past I’ve come across huge swaths of untagged nodes, I guess this explains it.

Discussion

Comment from NZGraham on 9 July 2016 at 09:54

“A few times in the past I’ve come across huge swaths of untagged nodes, I guess this explains it.”

I recently found many such nodes when checking an area with ‘KeepRight’ and arranged with the original mapper to delete them.

Might be worth while to run a ‘KeepRight’ check over your Regina SK area just in case any stray nodes still need to be cleaned up.

Comment from gecho111 on 9 July 2016 at 14:55

One of my regular KeepRight checks a couple days ago revealed some stragglers which prompted me to write the diary entry.

Comment from Piskvor on 11 July 2016 at 08:20

You could also use the Reverter plugin in JOSM to undo the second changeset.

Comment from gecho111 on 11 July 2016 at 15:40

The reverter plugin was the first thing I tried but it repeatedly gave me errors when trying to download the changeset, refusing to download anything at all.

Log in to leave a comment