rstephany

Calculate field @SQUAREMETERS

Discussion created by rstephany on Jul 8, 2011
Latest reply on Jul 8, 2011 by rstephany
Could anyone tell me why calculating the shape.length@METERS works for me, but calculating shape.area@SQUAREMETERS does not.  Area always returns '0'.  I'm using 9.3, and the feature classes are in WGS 84.

Here are 2 examples:

~Length
gp.CalculateField_management(fc , field.name, '!SHAPE.LENGTH@METERS!', "PYTHON_9.3"

~Area
gp.CalculateField_management(fc , field.name, '!SHAPE.AREA@SQUAREMETERS!', "PYTHON_9.3"

Outcomes