[Gdal-dev] Center of polygon

Frank Warmerdam warmerdam at pobox.com
Tue Apr 6 12:19:29 EDT 2004


Clay, Bruce wrote:
> Daniel:
>   Thanks for the tip.  All I had to do is include the mitab_geometry.h
> file and the method did what I needed.
> 
> Frank:  Several of the methods in this file seem to be quite generic.
> Could / should they be moved to the public ORG API.  So far I have only
> used OGRPolygonLabelPoint on polygons but I will be trying it on
> polylines this afternoon.

Bruce,

You are right that some of these methods could/should sensibly be moved up
to the OGRGeometry classes.  However, I have been hesitant to start implementing
and document custom OGR implementations of these sorts of utility geometry
functions when I anticipate integration with GEOS to fill most of this
capability at some point.

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