<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hey Ben,<br><br>How goes it?<br><br>Does<a href="http://postgis.refractions.net/documentation/manual-1.5/ST_NumGeometries.html"> </a><br><a href="http://postgis.refractions.net/documentation/manual-1.5/ST_NumGeometries.html">http://postgis.refractions.net/documentation/manual-1.5/ST_NumGeometries.html</a><br>do what you want?<br><br>& FYI, I was interested in this post, as a PL/R user it may interest you as well?<br><br><a href="http://www.spatialdbadvisor.com/postgis_tips_tricks/290/r-based-delaunay-triangulation-function-for-postgis-using-the-deldir-package">http://www.spatialdbadvisor.com/postgis_tips_tricks/290/r-based-delaunay-triangulation-function-for-postgis-using-the-deldir-package</a> <br><br>Cheers,<br><br>  Brent<br><br><br>--- On <b>Wed, 5/2/12, Ben Madin <i><lists@remoteinformation.com.au></i></b> wrote:<br><blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Ben Madin <lists@remoteinformation.com.au><br>Subject: [postgis-users] Size of a multipolygon<br>To: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net><br>Date: Wednesday, May 2, 2012, 3:26 PM<br><br><div class="plainMail">Hello all,<br><br>I'm sure the answer is simple, but I'm lost on what to search on - I need to quickly search through several thousand multi polygons for any which have more than one part making them up. <br><br>What is the best way to do this…? (I've tried array_length(), but don't seem to be able to feed it the right part. I can't believe I can't find a function that does it… or am I looking at dumping the multi polygons into a new table and counting the number of lines for each one...<br><br>cheers<br><br>Ben<br><br><br>_______________________________________________<br>postgis-users mailing list<br><a
 ymailto="mailto:postgis-users@postgis.refractions.net" href="/mc/compose?to=postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></div></blockquote></td></tr></table>