ArcGIS Data Reviewer

Invalid Geometry Check Explained…

What exactly does Data Reviewer’s Invalid Geometry check find? Before I provide an answer, let’s explore how invalid geometries are introduced in your geodatabase in the first place. Typically loading data from shapefiles or CAD files can introduce invalid geometries. When data is migrated into an enterprise geodatabase using the simple loader invalid geometries such as empty, null, and no envelope will be filtered. However, if you’re using a third party data migration tool, all features including invalid geometries could be migrated. Similarly, when importing data into a personal or file geodatabase all geometries will be copied over. While the Check Geometry geoprocessing tool reports such geometry problems, it only works on shapefiles and personal or file geodatabases, and not on enterprise geodatabases. That’s where Data Reviewer’s Invalid Geometry check is helpful.

The check returns features that meet one of the following conditions:

1. Nothing

2. Empty

3. Has an empty envelope

4. Not simple

Okay, so what do these conditions mean?

Let me address the first three conditions as they are somewhat related.  You might ask, “if they are related why is Data Reviewer reporting these issue(s) independently?” For each feature the three conditions have different meanings. Furthermore, the issues could have been caused by different workflow errors. As a user, all you really need to know is that the feature has no geometry.  However, I’d like to explore these conditions a bit more and provide a brief description of each.

Nothing

The feature has nothing in the SHAPE field (SHAPE = <Null>). This type of error is returned when Data Reviewer is unable to retrieve the geometry information for that feature.

Empty geometry

The geometry of a feature is considered empty if it has zero or no points and it does not contain geometric information (represented by SHAPE _LEN and/or SHAPE_AREA fields) beyond its original initialization state.

Note:

 

 

Empty geometries can be introduced when editing or creating data programmatically and when importing bad data into your GIS.

Has an empty envelope 

This condition occurs when a feature’s envelope (bounding rectangle) does not have any geometric information. This is similar to empty geometry.  

Not simple

Geometry is considered non-simple if any of the below are true. 

Short segments seem to be the most common non-simple geometry users find in their data.  This occurs when the vertices in a polyline or polygon boundary are too close; but still are within the database’s XY tolerance.  Depending on the type of data, this may or may not be a critical issue for you. In the case of a utility, for instance, this type of error could have a huge impact. An utility may be basing the rotation of point features (i.e. tees) on the angle of its connected lines (i.e. pipes). In the screenshot on the left you can clearly see the tee is not rotated properly.  What you can’t see, but illustrated in the screenshot on the right, is the extra vertex at the end of the pipe which is affecting the angle of the tee.

Invalid geometries are basic data integrity errors that should be addressed in order to validate your data for other types of issues. As a side note, for those of you already using the Invalid Geometry check, Service Pack 3 for ArcGIS Data Reviewer 10 includes an enhancement for storing the geometry of a feature when it is returned as non-simple.  You can now navigate directly to the feature, making it easier to address the issue.

 

 Content contributed by Michelle Johnson

About the author

Jay Cary is a Product Manager in the Esri Professional Services R&D Center. As a product manager at Esri, Mr. Cary is responsible for supporting software product development, marketing, and customer advocacy for multiple product teams. Before joining Esri in 2007, he worked as a program manager with 15+ years of GIS management and consulting experience in both local and federal government sectors.

Connect:

Next Article

Basemap Releases Include Over 300 New and Updated Communities

Read this article