NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

accept rate: 8%

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:

  • Don't use chunked upload, unless you have a good reason. This way you avoid partial upload mess.
  • Save often. If you have saved the state just before the upload, you can always revert and try again.
  • If everything fails, use File > Upload selection to get at least some parts of your work on the server.
permanent link

answered 10 Mar '12, 23:14

bastik's gravatar image

accept rate: 41%

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Mar '12, 14:44

question was seen: 4,374 times

last updated: 19 Dec '12, 14:37

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum