[postgis-users] how obtain the interior parcels

Fred Lehodey lehodey at gmail.com
Thu Dec 10 11:48:17 PST 2009


Hi Salas,
are "interior parcels" islands ?
ST_NumInteriorRings(geometry)

Return the number of interior rings of the first polygon in the geometry.
Return NULL if there is no polygon in the geometry.
ST_NumInteriorRing(geometry)

Synonym to NumInteriorRings(geometry). The OpenGIS specs are ambiguous about
the exact function naming, so we provide both spellings.
ST_InteriorRingN(geometry,integer)

Return the N'th interior ring of the polygon geometry. Return NULL if the
geometry is not a polygon or the given N is out of range.

Fred.


On Thu, Dec 10, 2009 at 7:35 PM, Fsalas <fsalas at geocuba.cu> wrote:

>  Hi,
> I have a table parcels , and I need obtain the list of the only interior
> parcels, the parcels is not overlap.
> I test ST_Contains(), ST_Intersects() but the result is not correct.
>
>  Salas.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20091210/506b8ab0/attachment.html>


More information about the postgis-users mailing list