<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div><br></div><div><a target="_blank" rel="noopener noreferrer" href="https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/removing_useless_surface_tags#Source_code">https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/removing_useless_surface_tags</a> is now existing and code is being tested<br></div><div><br></div><div>Jul 28, 2022, 09:10 by osm@paulnorman.ca:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On 2022-07-27 9:51 p.m., Mateusz Konieczny via talk wrote:<br></div><blockquote><div>I propose to remove following surface tags by doing an automated edit:<br></div><div><br></div><div>surface=unclassified https://taginfo.openstreetmap.org/tags/surface=unclassified<br></div><div>surface=no data https://taginfo.openstreetmap.org/tags/surface=no%20data<br></div><div>surface=unknown https://taginfo.openstreetmap.org/tags/surface=unknown<br></div><div>surface=undefined https://taginfo.openstreetmap.org/tags/surface=undefined<br></div><div>surface=unspecified https://taginfo.openstreetmap.org/tags/surface=unspecified<br></div><div>surface=Unspecified https://taginfo.openstreetmap.org/tags/surface=Unspecified<br></div></blockquote><div><br></div><div><br></div><div>I agree with unclassified, unknown, and undefined as they are all coming from editor errors around the world, and removal will help prevent them while not removing useful information.<br></div><div><br></div><div>I disagree with "no data", because the only use seems to be from an import that was never discussed, and if that is resolved the tag will go away.<br></div><div><br></div><div>"unspecified" seems associated with some HOT organized editing from 2012 and 2017. Can we have HOT fix the data, as there's other issues with the tags used.<br></div><div><br></div><div>"Unspecified" doesn't seem worth automatic rules for two occurrences.<br></div><div><br></div><div><br></div><div>What software do you intend to use to do the edit, and how often do you plan to re-run it?<br></div></blockquote><div dir="auto">custom Python script using osm_bot_abstraction_layer (wrapper for osmapi which<br></div><div dir="auto">is in turn a Python wrapper around OSM API)<br></div><div dir="auto"><div dir="auto"><br></div><div dir="auto">See<br></div><div dir="auto"><a href="https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/removing_useless_surface_tags#Source_code" rel="noopener noreferrer" target="_blank">https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/removing_useless_surface_tags#Source_code</a><br></div></div><div dir="auto">for source code.<br></div><div dir="auto"><br></div><div dir="auto">So far it would remove<br></div><div dir="auto">surface=unclassified<br></div><div dir="auto">surface=unknown</div><div dir="auto">surface=undefined<br></div><div dir="auto">but it is trivial to add more values.<br></div><div dir="auto"><br></div><div dir="auto">I rerun bot code irregularly, typically once few months or when I run other bot edits.<br></div> </body>
</html>