[OSM-talk] Could I globally replace [building:level] with [building:levels] ?

Casper Kersten casperkersten1 at gmail.com
Tue May 17 15:40:10 UTC 2022


I just ran this query on https://maps.mail.ru/osm/tools/overpass/ :

(
way["building:level"][!"building:levels"]["building"];
way["building:level"][!"building:levels"]["building:part"];
);
(._;>;);
out meta;

It gave me about 16.4k results. I say this looks doable.

The second random result I clicked on is an interesting one:
https://www.openstreetmap.org/way/709180434
These things will slow down your workflow, but you might get some nice data
out of them if you know how to fix them.
Of course you can also decide to exclude them from your changeset. In that
case you can purge them with ctrl+shift+P in JOSM.

To clarify my first recommendation from my previous email; cases with both
building:level and building:levels tags also need some special attention,
and in my experience it is easier to fix them in a separate changeset than
it is to include them in the first big changeset.

I also recommend that you check documentation on the tags that you want to
change.
If there's a page that mentions building:level, you might want to change
that into building:levels,
otherwise you'll be playing a cat-and-mouse game with mappers who add
building:level tags based on incorrect documentation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20220517/b89b4d77/attachment.htm>


More information about the talk mailing list