<div dir="ltr"><div>Hi Andreas, <br></div><div><br></div><div>You could do a ' self-intersect' of the polygon layer, calculate the area, select polygons under specific area (assuming they're small overlaps) and run the ' eliminate selected polygons' tool. <br></div><div>The GRASS tool v.clean offers some solutions too. <br></div><div><br></div><div>Greetings</div><div>Wouter<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op di 25 jul 2023 om 12:02 schreef Andreas Neumann via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>A friend of mine has a dirty input data set with lots of overlapping geometries (within the same layer) and asked me if there is a tool within QGIS to automatically remove the overlaps and assign the overlapping area to the neighbor polygon with the largest area.</p>
<p>The solution was surprisingly hard to find, although I am pretty sure there are multiple combinations of algorithms that would solve the problem. Here is the solution I came up with: <a href="https://github.com/qgis-ch/overlap_removal/tree/main" target="_blank">https://github.com/qgis-ch/overlap_removal/tree/main </a>- perhaps you have better ideas - more elegant solutions?</p>
<p>Wouldn't it be great if QGIS had a processing tool to solve this overlap cleaning within the same layer "out of the box" without having to use a graphical model or a more or less complicated sequence of algorithms in the processing toolbox? Apparently, ArcGIS has such a tool ...</p>
<p>Saga and GRASS also might have such tools - but I couldn't get the SAGA based QGIS plugin "Dissect and dissolve overlaps" (<a href="https://plugins.qgis.org/plugins/dissect_dissolve_overlaps" target="_blank">https://plugins.qgis.org/plugins/dissect_dissolve_overlaps</a>).</p>
<p>The same problem exists for automatically filling small gaps in the polygon data set ...</p>
<p>Andreas</p>
<p><br></p>
</div>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>