[Shapelib] Handling polygon rings in shapefiles

Brian Peschel brianp at occinc.com
Wed Oct 12 09:41:35 EDT 2005

> Brian,
> As far as I recall Shapelib does not address the issue of associating
> inner rings with their owning outer ring.  There is code to accomplish
> this in OGR in the shape2ogr.cpp module which might be of some
> use to you.
>   http://www.gdal.org/srctree/ogr/ogrsf_frmts/shape/shape2ogr.cpp
> 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    | Geospatial Programmer for Rent


This was exactly what I was looking for.  Thank you very much for your help!


More information about the Shapelib mailing list