<html><head></head><body><div class="ydp8c7b8056yahoo-style-wrap" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><div><div dir="ltr" data-setdir="false">Martin,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I dont know ow experienced you are, but tools are their to rapidly see the history of objects, to confirm or not that prior to last edits these objects were valid,<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If for example there is a valid relation, either to describe a territory, a river, a route network, if an inexperience  contributor deletes some or all the members, it is important to repair, and not simply blindly update and destroy, creating even more problems.</div><div><br></div><div dir="ltr" data-setdir="false">We surely should not encourage contributors to simply fly over a territory and garden, blindly pick this, remove that thinking this is not usefull.</div><div class="ydp8c7b8056signature"><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;"> <br><font style="background-color: inherit;" face="garamond, new york, times, serif">Pierre </font><br></span></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="ydp9b66b433yahoo_quoted_9328757069" class="ydp9b66b433yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Le dimanche 18 avril 2021 18 h 30 min 05 s UTC−4, Martin Machyna <machyna@gmail.com> a écrit :
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp9b66b433yiv9750097716"><div>
    <p>I would be scared to do what you are suggesting. We can't know
      what the original intention of the previous user were. This could
      create duplicate objects or reintroduce data that were meant to be
      deleted. In the end more mess then it's worth.<br clear="none">
    </p>
    <p><br clear="none">
    </p>
    <div class="ydp9b66b433yiv9750097716yqt6011263425" id="ydp9b66b433yiv9750097716yqt36784"><div class="ydp9b66b433yiv9750097716moz-cite-prefix">On 18.4.21 2:38 , Pierre Béland wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      </blockquote></div></div><div class="ydp9b66b433yiv9750097716yqt6011263425" id="ydp9b66b433yiv9750097716yqt32737"><div><div class="ydp9b66b433yiv9750097716ydp23cedc8yahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:13px;">
        <div>
          <div dir="ltr">It is not clear if you only
            want to delete relations that never had members. We need to
            be carefull about mechanical edits if a prior contributor 
            deleted the members. <br clear="none">
          </div>
          <div dir="ltr"><br clear="none">
          </div>
          <div dir="ltr">You need a tool to look at
            the previous state of relations and try to repair it.
            History tools might help. See for example <a shape="rect" href="https://osmlab.github.io/osm-deep-history/" rel="nofollow" target="_blank">https://osmlab.github.io/osm-deep-history/</a></div>
          <span style="font-style:italic;color:rgb(0, 0,             191);font-weight:bold;"> </span><br clear="none">
          <span style="font-style:italic;color:rgb(0, 0,             191);font-weight:bold;"></span>
          <div class="ydp9b66b433yiv9750097716ydp23cedc8signature"><span style="font-style:italic;color:rgb(0, 0,               191);font-weight:bold;"><font style="background-color:inherit;" face="garamond, new york, times, serif">Pierre
              </font><br clear="none">
            </span></div>
        </div>
        <div><br clear="none">
        </div>
        <div><br clear="none">
        </div>
      </div>
      <div class="ydp9b66b433yiv9750097716ydpfb70ae03yahoo_quoted" id="ydp9b66b433yiv9750097716ydpfb70ae03yahoo_quoted_8793842531">
        <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
          <div> Le dimanche 18 avril 2021 12 h 53 min 34 s UTC−4, Martin
            Machyna <a shape="rect" class="ydp9b66b433yiv9750097716moz-txt-link-rfc2396E" href="mailto:machyna@gmail.com" rel="nofollow" target="_blank"><machyna@gmail.com></a> a écrit : </div>
          <div><br clear="none">
          </div>
          <div><br clear="none">
          </div>
          <div>
            <div id="ydp9b66b433yiv9750097716ydpfb70ae03yiv0560069809">
              <div dir="ltr">Hi everyone,
                <div><br clear="none">
                </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 clear="none">
                </div>
                <div>1) Remove relations that have no members, nor are
                  members of a relation themselves. </div>
                <div><br clear="none">
                </div>
                <div>[out:json][timeout:250];<br clear="none">
                  relation[type](if: count_members() == 0);<br clear="none">
                </div>
                <div>rel(br) -> .parents;<br clear="none">
                  (._; - rel(r.parents););<br clear="none">
                  out ids;<br clear="none">
                </div>
                <div><br clear="none">
                </div>
                <div>2) Remove type=multipolygon from ways.</div>
                <div><br clear="none">
                </div>
                <div>[out:json][timeout:250];<br clear="none">
                  way[type=multipolygon];<br clear="none">
                  out ids;<br clear="none">
                </div>
                <div><br clear="none">
                </div>
                <div><br clear="none">
                </div>
              </div>
            </div>
            _______________________________________________<br clear="none">
            talk mailing list<br clear="none">
            <a shape="rect" href="mailto:talk@openstreetmap.org" rel="nofollow" target="_blank">talk@openstreetmap.org</a><br clear="none">
            <a shape="rect" href="https://lists.openstreetmap.org/listinfo/talk" rel="nofollow" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br clear="none">
          </div>
        </div>
      </div>
    
  </div></div></div></div>
            </div>
        </div></body></html>