wllm1313

Using Calculate Field to create x,y centroids in decimal degrees

Discussion created by wllm1313 on Aug 1, 2011
Latest reply on Aug 4, 2011 by wllm1313
Can anyone tell me how to use calculate field to create x, y coordinates of the centroids of a polygon in decimal degrees? Currently I am only able to create x, y coordinates in metres. I have tried using this line in my python script:

float(!SHAPE.CENTROID@decimaldegrees!.split()[0]

but it does nothing. I know the inherent problems and inaccuracies of creating decimal degree coordinates in this manner but I would like to know if there is a way to force arc to do it.

Thanks,
Will

Outcomes