laptop and a wrench

Bug

When running the Identity tool, the following error message is returned even with a valid topology: "Error 160196: Invalid Topology."

Last Published: March 24, 2023 ArcGIS Pro
Bug ID Number BUG-000156902
SubmittedMarch 22, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed3.2
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.2. There is a combination of things causing this problem. The polygon feature class used as the identity features class has about 9100 features that have 1.6 million parts, and many individual polygon parts span a large area, which at the very least causes performance issues. Also, there are over 30 million areas of overlap within the polygon feature class. In short, the identity polygon feature class is much more complex than might be realized at first glance, and the way in which the polygons are constructed raises the question of whether this is really the best way to represent the data. The geometries themselves are not problems in and of themselves. The issue is triggered by the combination of the data complexity and faultiness with the custom spatial reference that is assigned to the input point feature class. The input feature class's spatial reference is what is used for the analysis, which means the identity feature class is projected on the fly from WGS84 to the input feature class's spatial reference, and then all the features from both inputs are processed using the input feature class's spatial reference. Please refer to the workarounds for how to avoid using this problem's custom spatial reference and get things working.

Workaround

For all workarounds, make sure to set arcpy.env.parallelProcessingFactor = 100 to take advantage of parallel processing and improve performance when running the Identity tool.

Workaround 1

For both the input point feature class and the identity polygon feature class, recreate each feature class to repair the input feature class and to convert the identity feature class to be the same as the input. See https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/geoprocessing-resolution-tolerance-and-hair/ which contains a step-by-step description on how to recreate and input.

For the step that selects the coordinate system, do not use the input feature class as a template. Instead, at the dialog to select a coordinate system for the new feature class, use the search text box to search for 'statistics Canada Lambert' and select Projected Coordinate System/National Grids/Canada/NAD 1983 Statistics Canada Lambert as the coordinate system for the new feature class.

It is highly recommended that all inputs be projected to the same spatial reference prior to analysis to get the best results. Refer to https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/spatial-reference-and-geoprocessing.htm for more information. This workaround takes 3 hours. For faster performance, after converting both feature classes to NAD 1983 Statistics Canada Lambert as in the workaround, convert the identity polygon feature class to a single part using the Multipart To Singlepart tool. Run the Identity tool with the repaired point input and the single part polygon identity feature class. Divide the data into smaller increments and run the tool.

Steps to Reproduce

Bug ID: BUG-000156902

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options