Issues calculating area and perimeter

03-01-2024 06:33 AM
New Contributor II

Hello, I am very green to ArcPro but have encountered a problem I cant wrap my head around. I am trying to calculate the area and perimeter of a shapefile I have created. It has been edited and saved and I have used the correct coodinate system, however I encounter this error (picture included):

Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\", line 290, in <module>
CalculateGeometry(fc, properties, lUnit, aUnit, cs, cformat)
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\", line 130, in CalculateGeometry
RuntimeError: The value type is incompatible with the field type. [Area]


Is there something I am doing wrong? Any help would be much appreciated 🙂




0 Kudos
2 Replies
MVP Esteemed Contributor

If they are fields you created, then check in the fields view to ensure that the data type is double, and use a different name, it might be a keyword issue, try 

Area_   Perimeter_


throwing the _ removes if from the keyword list

... sort of retired...
New Contributor II

Dan you are a lifesaver mate, thank you so much ❤️

0 Kudos