[gdal-dev] outline point cloud

Frank Warmerdam warmerdam at pobox.com
Fri Jan 18 15:44:16 EST 2008


Gennady Khokhorin wrote:
> Hello.
> I want create outline 2d polygon around points cloud.
> Is there any tools in GDAL to approach this task?

Gok,

I think if you turn the points into a MULTIPOINT OGRGeometry
you can call ConvexHull() on the collection to get a minimum
bounding convex polygon.  Note that you need to use a build with
GEOS support as GEOS is used to implement this method.

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    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list