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

How can I add key value pair to edits in recent history?

1

Hello, I have made a lot of similar edits in recent history. Is there a way I can add a 'key=value' pair to multiple edits I have made automatically? Sort of in a batch?

So lets say I have inserted a lot of wind-turbines and now want to add their height. Is there a way to add 'height=50' to multiple edits in my history?

Thanks in advance.

asked 26 Nov '21, 18:57

wobi's gravatar image

wobi
116237
accept rate: 0%


2 Answers:

2

You can select things where you were the last editor using overpass (including directly in JOSM). The resulting dataset can then be edited with JOSM or level0.

In general such an approach should be taken cautiously. It is quite easy to accidentally edit other things, and if done on a large scale can be considered an automatic edit and require you to follow the appropriate conduct code. Things where I would say it is acceptable is if you accidentally used a tag with a typo in over several changesets and wish to correct the value to the more usual one, or a tag accidentally missed in the original edits.

If you've edited a lot of wind turbines I'd be a bit surprised if they were all 50 m high, so I'd be cautious if this is your actual use case.

answered 26 Nov '21, 19:45

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

1

Potlatch3 will repeat the tags to current selected node, way or polygon from the last. just press "R" and inspect the result in advanced mode to be sure. The same warnings as in SK53's answer also apply.

answered 27 Nov '21, 10:59

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 27 Nov '21, 11:05

You can also pull in a set of objects as a task for Potlatch2 which works well for this sort of thing, as it's rather easier to inspect each object as you go.

(27 Nov '21, 11:53) SK53 ♦

Source code available on GitHub .