aroranidh

centroid of the polygon

Discussion created by aroranidh on Mar 30, 2011
Latest reply on May 12, 2014 by Reda20
Hi,
I want to calculate the centroid of the polygon .  I tried using Polygon.getExtent().getCenter( ) , but this fn does not return the true center , for example , if the polygon is C shaped.
Any thoughts in this aspect will be appreciated.

Regards,
Nidhi.

Outcomes