Skip to main content
Solved

Negative Shape areas

  • March 6, 2024
  • 3 replies
  • 211 views

ivanvdn94
Contributor
Forum|alt.badge.img+2

Hi everyone. I am reading data from an Esri Geodatabase. I have an issue with the Shape area reading as negative values.

 

I have tried the geometry validator with Area Orientation set to “right” as with “Allow Left” and “Check doughnuts only” does not deliver any repair results.

 

After the feometry validation, my repaired results still contain the negative area values. 

Negative values after geometry validator

Is there another way of solving this, I know the issue can be resolved in ArcMap wit geometry repair is there a similar way of doing this with FME?

Best answer by nielsgerrits

I think the issue is fixed with the GeometryValidator. The field SHAPE_Area is a static field with values read as they were originally. If you want to know the area, you can use the AreaCalculator. If you write this to a FeatureClass in a GeoDatabase, my guess is that the field SHAPE_Area is correct, as it is a dynamic field in a file geodatabase.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • Best Answer
  • March 6, 2024

I think the issue is fixed with the GeometryValidator. The field SHAPE_Area is a static field with values read as they were originally. If you want to know the area, you can use the AreaCalculator. If you write this to a FeatureClass in a GeoDatabase, my guess is that the field SHAPE_Area is correct, as it is a dynamic field in a file geodatabase.


hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1625 replies
  • March 6, 2024

Here’s some Esri help documentation on it - https://support.esri.com/en-us/knowledge-base/shapefile-polygons-have-negative-areas-or-label-incorre-000009019
https://support.esri.com/en-us/knowledge-base/why-does-the-calculate-geometry-tool-return-negative-va-000012491

Looks like it can be fixed via the ‘Repair Geometry’ tool in Esri. The GeometryValidator with repairing will also likely be able to resolve it


liamfez
Influencer
Forum|alt.badge.img+43
  • Influencer
  • 278 replies
  • March 6, 2024

If you were confident in the SHAPE_Area values being correct (other than the negative sign), and you wanted to simply change the sign of the values from negative to positive, then you could use the absolute value math function in an AttributeManager or perhaps just remove the negative sign using a StringReplacer. Though if the SHAPE_Area field has completely erroneous values, then I would 2nd @nielsgerrits response.