Upload of my .osm file was interrupted (reason unknown) in JOSM and only some nodes from that file were uploaded. Changeset was closed and instance of JOSM finished. What is the easiest way to resume the original upload? I preffer ammending to the data that were already uploaded to making a revert and a whole new upload again. asked 10 Mar '12, 14:44 Kozuch |
It depends. First of all check the list of your edits to see what really got uploaded. In the default setting, an upload in JOSM is all or nothing, i.e. either the upload is complete or the changeset is empty. If, like you say, the upload is partial, this means you uploaded in chunked mode. Now there are 2 possibilities: Either JOSM got the server response from the last successfully uploaded chunk, or it missed this response. In the first case, everything is fine and you can just try to upload again. In the second case you have a problem: There will be a number of objects in your dataset that are already uploaded, but JOSM does not know this and will try to upload them again. If all these objects are new, the upload will succeed and create lots of duplicates. If one of the objects is modified or deleted, the server will refuse the upload due to version mismatch. Now, what you can do is File > Update data. Afterwards, you may have plenty of duplicates in your dataset. Validator helps to find and clean these up. When everything is in order, you can proceed with the upload. Some tips:
answered 10 Mar '12, 23:14 bastik The file had 12000 nodes, JOSM was not able to complete it as a whole for several times...
(21 Mar '12, 20:36)
Kozuch
In JOSM, you can upload data in smaller chunks, you can determine chunk size in the advanced tab in the upload dialog(below the comment box. for slower connection you can use chunk size of 50, for good connections 1000. this way this way if you get stuck in the middle, it will takes less time afterwards as the previous chunks will be already uploaded
(19 Dec '12, 09:41)
amritkarma
Well after all, I realized JOSM upload works best for me with super small chunks, that means splitting any upload to pieces of about 5 or 10 objects. While it may generate more load for the server, I have really not found another working solution here.
(19 Dec '12, 14:37)
Kozuch
|