I'm calculating the centroids for a polygon (the city of Morelia in Mexico), but the coordinates that I'm getting are not inside the polygon and are way off from where the polygon is. What could be happening? Are the coordinates from the centroid given in a different forma? (The ones I'm getting are x= 2575360 and y=852065.8)
I used Stata to double check and I'm getting the same result.