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\calculategeometry.py", line 290, in <module>
CalculateGeometry(fc, properties, lUnit, aUnit, cs, cformat)
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\calculategeometry.py", line 130, in CalculateGeometry
ucur.updateRow(row)
RuntimeError: The value type is incompatible with the field type. [Area]
Is there something I am doing wrong? Any help would be much appreciated 🙂
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
Dan you are a lifesaver mate, thank you so much ❤️