Currently there are 5635 buildings in Israel tagged with height (source). 869 of those are also tagged with building:height with an identical value to their height tag:
building:height is deprecated for several years now and is hardly supported (only 5 projects according to taginfo).
Most elements were migrated to the modern and supported height tag over the past years.
As shown in the Overpass Turbo query above - I found many elements in IL that have both tags set to the same value. building:height does not add any value and is considered as a duplicate tag of height (for those elements specifically).
Suggested Solution
Mass edit to select all elements that have both height and building:height in Israel, where both hold the same value and remove building:height.
As a next step I’d query elements where only building:height present and do the rename.
In the presented query you only get ways and relations, some buildings can be mapped with a single node - worth including.
I’d start with overpass to get full osm data for matching cases, load it to JOSM and manually delete these tags. 800 items doesn’t feels as too heavy for such task, in a worst case can split to smaller areas.
Thank you @yrtimiD for double checking. I’ll make sure to include nodes in the mass-edit.
Migrating the rest of building:height → height is a possibility. I wasn’t sure whether to suggest it because key migration felt questionable after reading the code of conduct. I guess there won’t be a better possibility to migrate the rest other than this.
The plan sounds solit but a bit too manual - I’ll try and find a way to automate it.
I think I’ll perform the edits tomorrow to allow for more suggestions or objections.
edit: The following query returns no results:
[out:json][timeout:25];
// fetch area “IL” to search in
{{geocodeArea:Israel}}->.searchArea;
// gather results
(
node["building:height"](area.searchArea);
);
// print results
out geom;
A powerful combo is copy-pasting from level0 to vscode, using vscode’s multicursor (CTRL+D or CTRL+F2) where needed, and pasting back to level0. The format is friendlier than XML for humans and multi-cursors alike.