摘要: Gdal库计算形心方法。 在Gdal库中计算形心的方法如下: int OGRGeometry::Centroid( OGRPoint *poPoint ) const 其函数实现中,是调用的Geos库中的GEOSGetCentroid()方法,最终在Geos的bool Geometry::getCentroid(Coordinate& ret) const函数中创建了CentroidArea对象,... 阅读全文
posted @ 2015-05-11 12:45 xiarunliang 阅读(1174) 评论(0) 推荐(0) 编辑