Re: [gdal-dev] To know about centriod of a polygon shape file

2013-02-20 Thread Chaitanya kumar CH
Siva, If you want to remove features with duplicate centroids, it is not safe to use the spatial filter directly. A centroid may lie outside the geometry. Make a duplicate layer using OGRDataSource::CopyLayer() and replace the geometry in each feature with its centroid. So, the duplicate layer

Re: [gdal-dev] To know about centriod of a polygon shape file

2013-02-19 Thread Chaitanya kumar CH
Siva, Centroid of a polygon need not coincide with the centroid of it's buffer. On Tue, Feb 19, 2013 at 11:21 AM, SIVA RAMA KRISHNA s.r.kriis...@gmail.comwrote: Dear All, I am just working on Shape files I am unable to detect duplicate centroids in a shape file .After buffering a

[gdal-dev] To know about centriod of a polygon shape file

2013-02-18 Thread SIVA RAMA KRISHNA
Dear All, I am just working on Shape files I am unable to detect duplicate centroids in a shape file .After buffering a polygon does centroids of both will match Any help in greatly appreciated With Regards ___ gdal-dev mailing list