OpenStreetMap logo OpenStreetMap

Reverting huge changesets using JOSM

Posted by Jothirnadh on 14 September 2016 in English. Last updated on 14 September 2018.

OpenStreetMap is a great place where we can share the on-ground information with the community. Most of the time the data we add is good, but sometimes we might end up adding bad data. We might even come across unspecified bad imports which are supposed to be reverted. To overcome this we have a reverter plugin in JOSM, which helps in reverting data on changeset basis. The plugin works fabulously in reverting small changesets but fails to revert huge changesets with the below popup:

screen shot 2016-09-14 at 5 22 16 pm

There is no proper documentation for reverting huge changesets. On through research found that it’s because of the less socket.timeout given by default in JOSM. If we adjust the socket.timeout then the reverter plugin started to work well with big datasets. The below values worked for me.

image

You can adjust your socket.timeout by going to –> JOSM > preferences > advanced preferences

For more tools to revert, see the OSM Wiki -> http://wiki.openstreetmap.org/wiki/Change_rollback

Hope my findings help you with better mapping. Let me know if there is any other simpler way to revert as there is no proper documentation for reverting huge changesets.

Happy mapping!

Discussion

Comment from Kars on 15 September 2016 at 20:38

Thanks for this! It also seems to help against the error you get when attempting to download a big area.

Comment from marczoutendijk on 25 October 2016 at 11:58

Great! This helped me out of similar problems with huge changesets! Thanks.

Log in to leave a comment