<div dir="ltr">That blog post does provide useful queries for finding polygon overlaps and gaps.  <div><br></div><div>Overlaps are found via testing if polygon interiors intersect, using the DE-9IM relate mask 2********.</div><div><br></div><div>Gaps are found by identifying holes in the union of the set of polygons.  One issue with this is that computing the union of large datasets can be slow.  Lars' solution provides some ideas for dealing with this.<div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 2, 2022 at 3:22 AM Shaozhong SHI <<a href="mailto:shishaozhong@gmail.com">shishaozhong@gmail.com</a>> wrote:<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 dir="ltr"><div dir="ltr"><div dir="ltr">This solution does not appear to be well explained.<div><br></div><div><a href="https://www.khairu-aqsara.net/blog/find-topology-error-with-postgis" target="_blank">Find Topology Error With PostGIS (khairu-aqsara.net)</a><br></div><div><br></div><div>Has anyone tested it?</div><div><br></div><div>Is there a better way for Finding Gaps/Sliver Holes?<br></div><div><br></div><div>Regards,</div><div><br></div><div>David</div></div></div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><br>
</blockquote></div>