<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>Thanks for taking care of asking before making an edit!<br></div><div><br></div><div>------------------------<br></div><div><br></div><div>Have you reviewed at least some decent sample of this objects to check is<br></div><div>it going to remove valid data or hide more serious problems?<br></div><div><br></div><div>Sometimes such things are indicator of broken imports or not noticed<br></div><div>vandalism and removing them would just hide this problems.<br></div><div><br></div><div>Sometimes it is perfectly fine to purge such data automatically.<br></div><div><br></div><div>------------------------<br></div><div><br></div><div>Also, I remember a tool that was able to show old geometries of an object.<br></div><div>Sadly I am unable to track it down.<br></div><div><br></div><div>Unlike attic data where it is necessary to select location and date manually it<br></div><div>was enough to provide object id.<br></div><div><br></div><div>It would be very useful to review relations from (1) <br></div><div><br></div><div>Apr 18, 2021, 18:43 by machyna@gmail.com:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div dir="ltr"><div>Hi everyone,<br></div><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:<br></div><div><br></div><div>1) Remove relations that have no members, nor are members of a relation themselves. <br></div><div><br></div><div><div>[out:json][timeout:250];<br></div><div>relation[type](if: count_members() == 0);<br></div></div><div><div>rel(br) -> .parents;<br></div><div>(._; - rel(r.parents););<br></div><div>out ids;<br></div></div><div><br></div><div>2) Remove type=multipolygon from ways.<br></div><div><br></div><div><div>[out:json][timeout:250];<br></div><div>way[type=multipolygon];<br></div><div>out ids;<br></div></div><div><br></div><div><br></div></div></blockquote><div><br></div> </body>
</html>