Select to view content in your preferred language

Calculate geometry fails for no reason?

946
4
Jump to solution
07-06-2023 05:12 PM
Labels (3)
Mikhail
Occasional Contributor

Hi All, I have an unexpected problem. My shapefile consists of a number of polygons, and I need to know their areas. I select the ID column in the Attribute Table and start Calculate Geometry. It runs but creates no extra columns, so I cannot see where the areas are. In addition, something happens to the ID field, as the IDs change in some random order. I attach screenshots of the Attribute Table before and after running Calculate Geometry. Could someone help?

0 Kudos
1 Solution

Accepted Solutions
alex_mapintel
New Contributor III

Hi @Mikhail 

I would create a new attribute called 'area_<units>' and set the data type to decimal or integer. Then perform the geometry calculate on the new attribute.

In your example, it looks like you are calculating the area of the polygon into the "ID" attribute. 

View solution in original post

4 Replies
alex_mapintel
New Contributor III

Hi @Mikhail 

I would create a new attribute called 'area_<units>' and set the data type to decimal or integer. Then perform the geometry calculate on the new attribute.

In your example, it looks like you are calculating the area of the polygon into the "ID" attribute. 

Mikhail
Occasional Contributor

Hi Alex, thank you very much for your advice! I did not realize that the area goes into the selected field.

0 Kudos
DanPatterson
MVP Esteemed Contributor

There is no need to select the ID field

Calculate Geometry Attributes (Data Management)—ArcGIS Pro | Documentation

specifies the requirements


... sort of retired...
Mikhail
Occasional Contributor

Thanks, now I have better understanding of how this tool works.

0 Kudos