<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Topology check not picking up blatant errors? in ArcGIS Data Reviewer Questions</title>
    <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361911#M567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For starters, is the &lt;EM&gt;feature class&lt;/EM&gt; "&lt;EM&gt;2016_Merge"&lt;/EM&gt; in a &lt;EM&gt;Feature Dataset &lt;/EM&gt;within a&lt;EM&gt; File Geodatabase&lt;/EM&gt;?&amp;nbsp; I'm guessing it is not based on the filename, which starts with a number (which would not be allowed).&amp;nbsp; If your &lt;EM&gt;feature class&lt;/EM&gt; is not in a &lt;EM&gt;Feature Dataset &lt;/EM&gt;in a&lt;EM&gt; File Geodatabase&lt;/EM&gt;, I would suggest placing it there and then creating the topology.&amp;nbsp; Then &lt;EM&gt;validate&lt;/EM&gt;, start an editing session on it, then open the &lt;EM&gt;Error Checker&lt;/EM&gt;.&amp;nbsp; Give that a try and see if it resolves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/designing-a-geodatabase-topology.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/designing-a-geodatabase-topology.htm"&gt;Designing a geodatabase topology—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/creating-a-topology.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/creating-a-topology.htm"&gt;Creating a topology—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 22:19:12 GMT</pubDate>
    <dc:creator>ChrisDonohue__GISP</dc:creator>
    <dc:date>2017-11-07T22:19:12Z</dc:date>
    <item>
      <title>Topology check not picking up blatant errors?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361910#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcMap ver. 10.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Topology properties:&lt;/P&gt;&lt;P&gt;Feature class:&amp;nbsp;2016_Merge&lt;/P&gt;&lt;P&gt;Rule: "Must Not Have Dangles (line)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am selecting 'Validate Entire Topology'. The correct topology has been selected and is the only topology open in the mxd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Error Inspector, I have checked both the Exceptions and the Errors list, and have disabled 'Visible Extent only'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried everything I can think of - am I missing something obvious?&lt;/P&gt;&lt;P&gt;The spatial reference for both the feature dataset and geodatabase and the dataframe in the mxd are all the same, as well (UTM10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of the line feature class I am working with, which appears to have dangles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="382777" alt="Line feature class which appears to have dangles, no topology check results" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/382777_TopologyHelp.PNG" style="width: 620px; height: 445px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Inspector:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="382796" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/382796_TopologyHelp2.PNG" style="width: 620px; height: 127px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Topology properties:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="382798" alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/382798_TopologyHelp3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 19:02:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361910#M566</guid>
      <dc:creator>TaraLynn</dc:creator>
      <dc:date>2017-11-07T19:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Topology check not picking up blatant errors?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361911#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For starters, is the &lt;EM&gt;feature class&lt;/EM&gt; "&lt;EM&gt;2016_Merge"&lt;/EM&gt; in a &lt;EM&gt;Feature Dataset &lt;/EM&gt;within a&lt;EM&gt; File Geodatabase&lt;/EM&gt;?&amp;nbsp; I'm guessing it is not based on the filename, which starts with a number (which would not be allowed).&amp;nbsp; If your &lt;EM&gt;feature class&lt;/EM&gt; is not in a &lt;EM&gt;Feature Dataset &lt;/EM&gt;in a&lt;EM&gt; File Geodatabase&lt;/EM&gt;, I would suggest placing it there and then creating the topology.&amp;nbsp; Then &lt;EM&gt;validate&lt;/EM&gt;, start an editing session on it, then open the &lt;EM&gt;Error Checker&lt;/EM&gt;.&amp;nbsp; Give that a try and see if it resolves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/designing-a-geodatabase-topology.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/designing-a-geodatabase-topology.htm"&gt;Designing a geodatabase topology—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/creating-a-topology.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/topologies/creating-a-topology.htm"&gt;Creating a topology—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 22:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361911#M567</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2017-11-07T22:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Topology check not picking up blatant errors?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361912#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure your problem was resolved. Maybe try run the following script. It runs through a dataset in geodatabase identifying lines with dangles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;import arcpy
import os
#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)
print("Created topology.")
r = rules.rsplit(" ", 4)
print (r)
print("Finished3.")
for rule in r:
 #print("Finished3.")
 rule_type = r[0].replace("'","")
 print( rule_type)
 in_fc1 = r[1]
 print(in_fc1)
 subtype1 = r[2]
 print(subtype1)
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)
 print(path)
 sasa2 = '%s' % fcs #identify the feature class in the iteration
 print (sasa2)
 print "11111111111111111111111111"
# Create the topology

 arcpy.AddFeatureClassToTopology_management(out_topo, fcs, 1, 1)
 print(arcpy.GetMessages())
 print "22222222222222222222"
 arcpy.AddRuleToTopology_management(out_topo, rule_type, fcs, subtype1)
 print(arcpy.GetMessages())

 print "333333333333333333333333"
 if validate == "true":
 #try:
 arcpy.ValidateTopology_management(out_topo)
 #except:
 print(arcpy.GetMessages())
 print "4444444444444444444444444444"

 arcpy.ExportTopologyErrors_management(out_topo, wert, sasa2)


print("Finished.")
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/topology-check-not-picking-up-blatant-errors/m-p/361912#M568</guid>
      <dc:creator>wwnde</dc:creator>
      <dc:date>2021-12-11T16:52:45Z</dc:date>
    </item>
  </channel>
</rss>

