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
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
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