I'm calculating 4 double fields for a polygon feature class (exploded, single-part features):
I found the correct python expressions to calculate
Acreage using the Calculate Field (Data Management) tool.
Long fields, I've tried using
!SHAPE.CENTROID.Y! which calculates in either feet or meters depending on which unit is set on the data, but since I need the calculation in decimal degrees this isn't acceptable. And I've tried
!SHAPE.CENTROID.Y@DECIMALDEGREES! to get the calculation in decimal degrees, but this expression just flat out doesn't return anything. I've tried setting the parser to PYTHON and PYTHON_9.3.
Does anyone know if there's a python expression to calculate latitude and longitude in decimal degrees?
!SHAPE.CENTROID.X@DECIMALDEGREES! of course was used to try and calculate