[Gdal-dev] Center of polygon

Clay, Bruce bclay at ball.com
Mon Apr 5 15:23:34 EDT 2004


Is there a method within OGR to find the center of a polygon (where it
is not part of the data set) or polyline for the purposes of centering a
label?  If not does anyone have a method they are willing to share to
walk through the data of a polygon / ring to determine the center?


Bruce Clay
bclay at ball.com 



More information about the Gdal-dev mailing list