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>-dylan<br>