I am working on a project to automatically display topology errors from a gdb via a Python script. Essentially, I need to validate topology on several datasets, then use the Export Topology Errors tool once the topology has been validated. I am running into an issue for one dataset where the Validate Topology process runs for hours (over 24 hrs) without succeeding or throwing an error to determine what the problem is. All other datasets - even those bigger in disc size - are able to be validated successfully. For the dataset in question, I have iteratively removed data from each participating feature class and tested, and have determined that this infinite run time occurs only when data is in one of the line feature classes.
So far, I have tried the following:
- Reprojecting the whole dataset and validating topology - no success
- Deleting, then recreating the Spatial Index for the offending feature class and validating topology - no success
- Running “Repair Geometry” on the offending feature class and validating topology – no success
- Checking for any unique geometry characteristics in the offending feature class compared to others – no abnormal amount of multipart features or features with holes
- Removing all features from the offending feature class, then digitizing some "fake" data and validating topology- this is successful so it doesn't seem that the issue lies in the topology rules themselves
Strangely, if I let the validate process run for a while (> 1 hour) and force it to cancel, I can then “generate summary” from the topology file and the summary does contain errors for the whole dataset including the problematic feature class that seems to stall everything.
Does anyone have any ideas about what in my data might be causing the validate topology process to stall? Thank you in advance for your help!