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

Simon Poole simon at poole.ch
Tue May 17 14:27:40 UTC 2022


The relevant policy is 
https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct (you 
were pointed to it after you signed up BTW).

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.

Then there is the issue that the data in the tags might not be valid to 
start with and that has simply been hidden by the invalid key up to 
now,  for example there are nearly 100 -1 values , which doesn't make 
sense for a key that is supposed to be a positive value > 0 (these for 
example might be values that were intended for a level or a layer tag). 
Then a number of the tags are on nodes, that is again unlikely to make 
sense and needs to be checked too.

On the other hand, while the number would seem large at 18'000, it is 
only a tiny portion of the 27'000'000 building:levels tags and only has 
a very minor impact on data quality, so my take would be to fix any 
underlying problem and leave things as if, except if you want to create 
a maproulette or similar challenge (unluckily there is no guarantee that 
in a haze of gamifcation this turns out any better that simply 
mechanically changing the values).

SImon


Am 17.05.2022 um 14:52 schrieb 琉璃百合 via talk:
> Hey friends, I'm a Data Science student, also an OSM mapper. Recently while cleaning local data I noticed that there are some tags like [building:level] which are supposed to be a wrong typo.
>
> I would like to fix them to [building:levels] globally, but feel that such a large scale edit may need to be discussed beforehand, as there are currently over 10k nodes with this tag, and they are distributed around the world.
>
> I did this using the following Overpass statement query
>
>>> [out:xml][timeout:50];nwr["building:level"];out meta;>;out meta qt;
> Or should it be changed to a country-by-country approach? But that doesn't reflect that this is one continuous edit and doesn't necessarily make it easy to see the series of edits. And I don't know how to get a list of countries.
>
>>> [out:xml][timeout:50];{{geocodeArea:Taiwan}}->.searchArea;nwr["building:level"](area.searchArea);out meta;>;out meta qt;
> What should I do? Thank you in advance for reading my email!
>
> Best Regard.
>
> 琉璃百合
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20220517/04dc037e/attachment.sig>


More information about the talk mailing list