[postgis-users] Selecting polygons circled by one only polygons

Andrea Peri aperi2007 at gmail.com
Thu Oct 28 03:07:04 PDT 2010


Hi,

I have a table of polygon where every polygon can be holed.
And in the hole can be inside another polygon (another record of the table,
no multipolygons).

I need to detect all the polygon that are inside a hole of another polygon.

Initially I think this was easy but
after some test I notice this is not so easy because the polygon inside the
hole is formerly disjoint from the polygon with hole.

For more example I don't search the polygon that are full circled by more
than 1 polygon, but only the polygon circled by 1 only polygon

There is some method to detect this type of situations ?


Thx,

Andrea peri.

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101028/db31cc59/attachment.html>


More information about the postgis-users mailing list