<div dir="ltr"><div>Hi,</div><div><br></div><div>I have a large polygon P in a query against a table A where I'm only interested in A's polygons that touch/crosses the boundary of P.</div><div><br></div><div>I have tried <a href="https://postgis.net/docs/ST_DumpSegments.html">https://postgis.net/docs/ST_DumpSegments.html</a> but it does generate a lot of geometries when the polygon has 100s or 1000s of points.</div><div><br></div><div>Are there more efficient approaches to this?</div><div><br></div><div>Regards,</div><div>Mats Taraldsvik<br></div></div>