ArcMap ver. 10.2
I have a line feature. It is the result of two separate polygon features being converted to line, and merged together. A high number of dangles are expected. However, my error checker is not finding any of these errors.
Feature class: 2016_Merge
Rule: "Must Not Have Dangles (line)"
Initially, I created the topology through model builder, and it didn't work. I deleted it and created it manually, but I am still running into the same issue.
I am selecting 'Validate Entire Topology'. The correct topology has been selected and is the only topology open in the mxd.
On the Error Inspector, I have checked both the Exceptions and the Errors list, and have disabled 'Visible Extent only'.
I have tried everything I can think of - am I missing something obvious?
The spatial reference for both the feature dataset and geodatabase and the dataframe in the mxd are all the same, as well (UTM10)
Here is an example of the line feature class I am working with, which appears to have dangles:
For starters, is the feature class "2016_Merge" in a Feature Dataset within a File Geodatabase? I'm guessing it is not based on the filename, which starts with a number (which would not be allowed). If your feature class is not in a Feature Dataset in a File Geodatabase, I would suggest placing it there and then creating the topology. Then validate, start an editing session on it, then open the Error Checker. Give that a try and see if it resolves the issue.
Chris Donohue, GISP
Not sure your problem was resolved. Maybe try run the following script. It runs through a dataset in geodatabase identifying lines with dangles.
#This Script iterates through datasets, identifies line features and applies creates topology and exports topology errors
arcpy.env.overwriteOutput = True
# Input variables
arcpy.env.workspace = r"C:\MyProjects\MyProject.gdb"
input_dataset = r"C:\MyProjects\MyProject.gdb\fds"
wert = r"C:\MyProjects\MyProject.gdb\fds"
topo_name = "Topology"
cluster_tol = 0.001
input_fc = r"C:\MyProjects\MyProject.gdb\fds\fc1 1 1;C:\MyProjects\MyProject.gdb\fds\fc2 1 1"
rules = r"'Must Not Have Dangles (Line)' C:\MyProjects\MyProject.gdb\fds\fc1 # C:\MyProjects\MyProject.gdb\fds\fc1 #"
validate = "true"
out_topo = arcpy.CreateTopology_management(input_dataset, topo_name, cluster_tol)
r = rules.rsplit(" ", 4)
for rule in r:
rule_type = r.replace("'","")
in_fc1 = r
subtype1 = r
datasets = arcpy.ListDatasets(feature_type='feature')
datasets = [''] + datasets if datasets is not None else 
#rulesL = rules.split(";")
for ds in datasets:
for fcs in arcpy.ListFeatureClasses(feature_dataset=ds):
path = os.path.join(arcpy.env.workspace, ds, fcs)
sasa2 = '%s' % fcs #identify the feature class in the iteration
# Create the topology
arcpy.AddFeatureClassToTopology_management(out_topo, fcs, 1, 1)
arcpy.AddRuleToTopology_management(out_topo, rule_type, fcs, subtype1)
if validate == "true":
arcpy.ExportTopologyErrors_management(out_topo, wert, sasa2)