This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

JOSM revert nodes within closed polygon.

0

Hi While editing someone unintentionally quantized a polygon that's part of a multi polygon.

https://www.openstreetmap.org/way/481782771

I'm still registered as the last amender, but if you select a node you'll see they've been moved since.

I don't want to revert the whole changeset if possible, but I'm struggling to see how to revert just the nodes. I've downloaded just the polygon way into JOSM, selected that way > Data > Revert Changeset > Revert selection only, but nothing changes to upload.

Could someone provide instruction how to select the nodes plaes.

asked 29 May '18, 15:19

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

Should be OK now. I used Potlatch1 (but then had to move a node slightly to persuade it to upload the data). I'm unclear why the residential areas are added as a relation rather than individual polygons though.

(29 May '18, 15:27) SK53 ♦

Thanks for that, but I was hoping for instructions so I, & others, can learn how to do it for ourselves in the future.

They're MPs as they have 'inners'.

(29 May '18, 15:35) DaveF

@DaveF if memory serves Potlatch 1 is still mentioned in the wiki as a "way to revert particular sorts of things".

(29 May '18, 15:41) SomeoneElse ♦

Ta. So it can't be done in JOSM?

(29 May '18, 15:47) DaveF

I'd expect not until someone writes some "consolidated history" code in there, no.

That said, there are an awful lot of plugins for JOSM and someone might step forward with an answer using JOSM. If you want to create an "example error" for someone to try and fix with JOSM you can always do that on the dev server.

(29 May '18, 15:50) SomeoneElse ♦

One Answer:

0

To revert it in JOSM, you'd need to select the nodes constituting the way, since those are what had been changed. Selecting only the way will attempt to revert the way, but that in itself hadn't been changed.

answered 29 May '18, 19:39

alester's gravatar image

alester
6.6k266100
accept rate: 28%

This is what's stumped me. I'm only an occasional JOSM user. This is what I tried using a test: JOSM > 'Open Location' using the changeset URL. It only loaded the nodes. Drew a rectangle to select all required nodes. Data > Revert Changeset > Revert Selection only Clicked 'Upload Changes' & went through the usual procedures.

It didn't revert.

(30 May '18, 20:06) DaveF

Source code available on GitHub .