I keep getting an error when I try to calculate the area and perimeter with calculate geometry on ArcGIS Pro 2.8

218
1
05-19-2021 09:18 AM
AntoniosKazoulidis
New Contributor

I tried unistalling and reinstalling both ArcGIS Pro 2.8 and Python 3.9.5 with no results. I would appreciate any help. I have attached a screenshot of the error I am getting.

0 Kudos
1 Reply
JayantaPoddar
MVP Esteemed Contributor

Could you share the screenshot of the Calculate Geometry tool parameters? What is the spatial reference of the layer and Map?

Meanwhile, could you check if you get the result using Calculate Field?

For Area

Expression 1:

!shape.area!

Expression 2:

 !shape.area@acres!

For Perimeter

Expression 1:

!shape.length!

Expression 2:

!shape.length@yards!



Think Location
0 Kudos