[OSM-talk] Could I globally replace [building:level] with [building:levels] ?
Andy Townsend
ajt1047 at gmail.com
Wed May 18 22:06:02 UTC 2022
On 17/05/2022 15:27, Simon Poole wrote:
>
> Obviously common sense should be applied, but as you correctly note
> changing 10k objects globally is touchy, particularly when there is no
> clear root cause. So as a first step I would try to determine if there
> is a reason for the mistagging and if yes fix that first, it might be
> as simple as a typo in a preset.
To get an idea of the source of the problem it's possible to just select
one value from
https://taginfo.openstreetmap.org/keys/building%3Alevel#values
and sample the results. Taking "4" as an example,
* The originating editor seems to be either iD or JOSM (probably more
iD than JOSM, but I presume more buildings are added with iD than JOSM)
* The originating date is a fairly wide range. Some are 10 years old,
some recent.
* There are more errors where English isn't a first language
There is a "long tail" of silly values (the previously mentioned "-1" on
page 1, and also others starting on page 2 of
https://taginfo.openstreetmap.org/keys/building%3Alevel#values ) that
need looking at in more detail.
It's pretty clear what
https://www.openstreetmap.org/node/2517761586/history is trying to say
with "building:level" and it's not "this building has -1 levels".
I'm sure that it would be possible to do a sensible mechanical edit here
that fixed https://www.openstreetmap.org/way/160054444 but left some of
the others, but it wouldn't just be "change all key X to key Y" worldwide.
Best Regards,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20220518/dcaa38fb/attachment.htm>
More information about the talk
mailing list