Thanks for sharing, Sanjay. For what it's worth, there is a macro to calculate the centroid of map polygons as…