[FWTools] OGR2OGR MULTIPOLYGON verses outer and inner rings

Frank Warmerdam warmerdam at pobox.com
Mon Jan 7 11:39:25 EST 2008

David R Robison wrote:
> I am trying ti load data provided to me into PostGIS using OGR2OGR. The 
> layer is a MULTIPOLYGON. However, when I import it into PostGIS, the 
> multiple polygons are collapsed into one polygon with multiple inner 
> rings. Is there some way to tell OGR2OGR that there are no inner rings 
> and that every thing is an outer ring?


What is the input format?  There is no way currently for ogr2ogr to
reinterprete geometries in the way you want, though something could be
scripted.  But I wonder if it would be better to fix the input driver.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

More information about the FWTools mailing list