[Gdal-dev] New option to create points in polygon in ogr2ogr?

Frank Warmerdam warmerdam at pobox.com
Sun May 25 14:13:01 EDT 2003


Daniel Morissette wrote:
> Frank,
> 
> For one of our projects we need to calculate label points (centroids)
> for a set of shapefiles.  There is already a OGRPolygonLabelPoint()
> function in mitab_geometry.cpp and we will probably use that in a custom
> version of ogr2ogr.
> 
> Do you see any interest in making this a standard option in the release
> version of ogr2ogr.cpp?  If yes then how would you want that option to
> work?

Daniel,

I am not too enthusiastic about making this a standard ogr2ogr option.
However, it does seem like a useful capability to move into the generic
OGR API, and to expose from python for those wanting to script specific
operations.

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