Well,<br><br>I realize 'Polygonize' isn't the right function, but I'm still stuck figuring out which is correct. Any ideas?<br>Cheers,<br>dylan<br><br><div><span class="gmail_quote">On 11/15/06, <b class="gmail_sendername">
Dylan Lorimer</b> <<a href="mailto:edylan@google.com">edylan@google.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I loaded a shapefile of country boundaries into PostGIS using the shp2pgsql loader. I see that the resulting geometry is a multipolygon. I need it as a polygon, and considering there is only a single outer ring, this shouldn't be a problem. But 'Polygonize' is returning a GeometryCollection, rather than Polygon. Any ideas?
<br><br>gnis2=#  select GeometryType(Polygonize(the_geom)) from gnis_country_view where country_name='Canada'; <br>    geometrytype    <br>--------------------<br> GEOMETRYCOLLECTION<br>(1 row)<br><br>Cheers,<br><span class="sg">
-dylan<br>


</span></blockquote></div><br><br clear="all"><br>-- <br>E. Dylan Lorimer | Google Earth Enterprise<br>650.253.2459 (O) | 650.862.6810 (M) | 650.644.0182 (F)<br>--------------------------------------------------------------------------------
<br>Earth Enterprise Support: <a href="mailto:fusion@google.com">fusion@google.com</a> | 866.4GO.OGLE ext. 4