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

Resolving Conflicts in JOSM - is there any way to select “theirs” for multiple items?

4

Imagine that I'm reverting a changeset made in error, but some of the errors in it have already been resolved by other mappers, and I don't want to overwrite those changes. Normally the process is "go through each one and select 'Theirs' in each case". Is there a way to select multiple conflicts at once? JOSM's UI lets you select multiple things there and click "resolve", but the resolution only applies to the top item.

asked 11 Dec '16, 13:19

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%


2 Answers:

2

So I've just managed to make it work this way:

  • Select all the conflicts you want to resolve in the conflicts list
  • Right-click on them
  • Choose "Resolve to their version"

answered 20 Dec '16, 19:54

Stereo's gravatar image

Stereo
3562513
accept rate: 11%

0

You mean that right-clicking on two selected conflicts and choosing 'use theirs' only resolves the first one?

answered 11 Dec '16, 16:34

Stereo's gravatar image

Stereo
3562513
accept rate: 11%

I'm not right-clicking anything, I'm selecting with the mouse, but yes, it only resolves the first one.

(12 Dec '16, 19:10) SomeoneElse ♦

Try right-clicking on a selection?

(12 Dec '16, 19:11) Stereo

Source code available on GitHub .