[gdal-dev] Extract centroids
Chaitanya kumar CH
chaitanya.ch at gmail.com
Wed Nov 2 22:42:39 EDT 2011
That's exactly what I meant. None of the prebuilt utilities do that.
You should try other desktop GIS programs like QGIS.
On Thu, Nov 3, 2011 at 12:12 AM, katrin eggert
<katrineggert1980 at gmail.com>wrote:
> Hi (again ! :) )
> Ok you mean developing a function and use OGR library right? so none of
> the pre-built functions (e.g. ogr2ogr) is able to do that ?
> 2011/11/2 Chaitanya kumar CH <chaitanya.ch at gmail.com>
>> You can programatically extract the centroids. You can use the
>> OGR_G_Centroid() function on the geometry.
>> On Thu, Nov 3, 2011 at 12:06 AM, katrin eggert <
>> katrineggert1980 at gmail.com> wrote:
>>> Just one question: I tried to find in Google if GDAL could be used to
>>> extract polygons centroids. But I was not able to find anything. Is it
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>> Best regards,
>> Chaitanya kumar CH.
>> 17.2416N 80.1426E
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev