OpenStreetMap 标志 OpenStreetMap

JOSM Drama

gecho111 于 2016年七月 9日 以 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.

电子邮件图标 Bluesky图标 Facebook图标 LinkedIn图标 Mastodon图标 Telegram图标 X图标

讨论

NZGraham2016年07月 9日 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.

gecho1112016年07月 9日 14:55 的评论

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

Piskvor2016年07月11日 08:20 的评论

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

gecho1112016年07月11日 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.

登录以留下评论