[FWTools] OGR2OGR MULTIPOLYGON verses outer and inner rings

David R Robison drrobison at openroadsconsulting.com
Mon Jan 7 11:43:18 EST 2008


The data has been provided to me in a Personal Geo Database. I am 
processing it and loading it into a PostGIS database. Thanks, David

Frank Warmerdam wrote:
> 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?
>
> David,
>
> 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,

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

 





More information about the FWTools mailing list