0

Alright, so I was mapping on JOSM, and I accidently deleted something by mistake. Normally, this wouldn't be a big issue. However, I made a lot of edits afterwards that if I undoed the deletion of the building, the edits made afterward would dissapear. I've heard a lot about reverting edits in JOSM, but I'm not entirely sure how to do it. Any help would be appricated.

asked 19 May, 21:59

TheAdventurer64's gravatar image

TheAdventurer64
31118
accept rate: 0%


One Answer:
0

If you have already uploaded

JOSM has a reverter plugin for this. I think the Partial reverts section on the wiki page has what you're after.

If you only do a selective upload of the building (and nodes) you had deleted (via File>Upload selection), then delete the data layer, you should end up with the building restored and the rest of the edit intact.

If you have not uploaded

You should be able to select the modified objects with a search (CTRL+F) for "modifed" and upload just those objects via File>Upload selection (CTRL+ALT+SHIFT+U).

Alternatively, you can re-download the area as a new layer and selectively merge (Edit>Merge Selection) the changes you do want to upload across to the new layer leaving the deletion behind in the original layer. You can then upload the new layer as normal.

In both of these options (especially the first), you should be weary of leaving orphaned nodes (ones without tags or "parent" objects) if you have changed the geometry of existing ways.

permanent link

answered 20 May, 01:12

InsertUser's gravatar image

InsertUser
4.6k33683
accept rate: 21%

edited 22 May, 10:36

Sorry, but I am confused onto how to use the modified tool. Could I send you a DM via OSM?

(20 May, 01:24) TheAdventurer64

Better try to solve it here so that others can profit from the resolution, too.
Could you share the changeset and the id of the deleted building?

(22 May, 10:07) TZorn

There is no separate modified tool, it is a search term within the search tool. I will try to edit for clarity.

It wasn't clear to me from your initial post whether you had uploaded the edits yet or not. Have you?

(22 May, 10:21) InsertUser

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×541
×76
×39

question asked: 19 May, 21:59

question was seen: 131 times

last updated: 22 May, 10:36

powered by OSQA