<html><head></head><body>Read the whole thread. LGTM. Thanks for keeping an eye on this garbage data.<br>👌<br>cheers<br><br><div class="gmail_quote">Martin Machyna <machyna@gmail.com> skrev: (18 april 2021 18:43:04 CEST)<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi everyone,<div><br></div><div>I had an idea that came during my work on a buildings import. I would like to clear/fix improperly created/deconstructed relations. This would include:</div><div><br></div><div>1) Remove relations that have no members, nor are members of a relation themselves. </div><div><br></div><div>[out:json][timeout:250];<br>relation[type](if: count_members() == 0);<br></div><div>rel(br) -> .parents;<br>(._; - rel(r.parents););<br>out ids;<br></div><div><br></div><div>2) Remove type=multipolygon from ways.</div><div><br></div><div>[out:json][timeout:250];<br>way[type=multipolygon];<br>out ids;<br></div><div><br></div><div><br></div></div>
</blockquote></div></body></html>