[Gdal-dev] OGR Polygon question
Frank Warmerdam
fwarmerdam at gmail.com
Wed Feb 16 20:36:55 EST 2005
On Wed, 16 Feb 2005 17:29:37 -0500, William Lyons
<wlyons at prologic-inc.com> wrote:
> Frank and List,
>
> Is there a C API equivalent to the following: ?
>
> OGRPolygon.getExteriorRing()
> OGRPolygon.getInteriorRing()
William,
I believe you use OGR_G_GetGeometryRef() to fetch the rings from a
polygon. The ring at index "0" will be the exterior ring and the rest are
interior rings.
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
More information about the Gdal-dev
mailing list