<?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: Network topology errors in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1412108#M82091</link>
    <description>&lt;P&gt;Thank you so much&amp;nbsp; for suggesting a solution to my problem . Your help has been invaluable and I greatly appreciate your expertise.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2024 08:05:36 GMT</pubDate>
    <dc:creator>Bisacqatesta</dc:creator>
    <dc:date>2024-04-19T08:05:36Z</dc:date>
    <item>
      <title>Network topology errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1410108#M81875</link>
      <description>&lt;P&gt;I have a vector file of lines that present a drinking water network, the objective is to correct the topographical errors of this network to have connectivity between all the lines, mainly I want to detect the isolated lines (&amp;nbsp;&lt;STRONG&gt; line Must not have two dangles )&amp;nbsp;&lt;/STRONG&gt;of the network and then correct them, what is the tool that allows me to do this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bisacqatesta_0-1713258272709.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/100989iF3B120477C4E027A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bisacqatesta_0-1713258272709.png" alt="Bisacqatesta_0-1713258272709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the photo shows an example of an isolated line (blue one)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 09:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1410108#M81875</guid>
      <dc:creator>Bisacqatesta</dc:creator>
      <dc:date>2024-04-16T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Network topology errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1410756#M81939</link>
      <description>&lt;P&gt;This problem intrigued me.&amp;nbsp; Here's one method to identify lines with two dangles.&amp;nbsp; A screenshot of my test data is below.&amp;nbsp; The lines are labeled with an attribute named &lt;EM&gt;iso_id&lt;/EM&gt;.&amp;nbsp; The line feature class is &lt;EM&gt;LineNetwork&lt;/EM&gt;. Note that every line has a unique &lt;EM&gt;iso_id&lt;/EM&gt;.&amp;nbsp; For this process, all you really need is some sort of unique id.&amp;nbsp; Obviously, OBJECTID would work here but believe me, this process will get confusing if you use the object id.&amp;nbsp; If you don't have a unique id, just add one and calculate it to OBJECTID + &amp;lt;some value&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_0-1713328286554.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101175iCC4B7EE8A0A23E1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_0-1713328286554.png" alt="Dale_Honeycutt_0-1713328286554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First step is to run the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/feature-vertices-to-points.htm" target="_self"&gt;Features Vertices To Points&lt;/A&gt; tool with &lt;EM&gt;LineNetwork&lt;/EM&gt; as the input, &lt;EM&gt;J_LineNetwork&lt;/EM&gt;&amp;nbsp;("J" for Junction) as the output point feature class, and "Both start and end vertex" as the &lt;STRONG&gt;Point Type.&amp;nbsp; &lt;/STRONG&gt;This gives you a point feature class of the endpoints of each line.&amp;nbsp; The output will have identical points -- for example, there'll be 3 points where 5001,7001, and 8500 meet and you want to get rid of them. So, run the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-identical.htm" target="_self"&gt;Delete Identical&lt;/A&gt; tool to get rid of the duplicates. Choose "Shape" for the &lt;STRONG&gt;Field(s) &lt;/STRONG&gt;parameter. Now you have a single point where lines meet. I call these points "junctions".&amp;nbsp;&lt;/P&gt;&lt;P&gt;This next step is a bit tricky -- you're going to use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/spatial-join.htm" target="_self"&gt;Spatial Join&lt;/A&gt; to create a list of lines that join each junction.&amp;nbsp;In network terms, this table is a kind of 'forward star', an extremely useful data structure for traversing networks.&amp;nbsp; I have some Python scripts that produce a similar table with a lot less pain, but this is the way to do it with readily available tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the input to Spatial Join:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Target Features&lt;/STRONG&gt; = &lt;EM&gt;J_LineNetwork&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Join Features&lt;/STRONG&gt; = &lt;EM&gt;LineNetwork&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Output Feature Class&lt;/STRONG&gt; = &lt;EM&gt;J_SpatialJoin&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Join Operation&lt;/STRONG&gt; = "Join one-to-one"&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Keep All Target Features&lt;/STRONG&gt; = checked (true)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Match Option&lt;/STRONG&gt; = Intersect&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Search Radius&lt;/STRONG&gt; - you shouldn't need one, but you can enter a small radius appropriate for your data&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Expand the &lt;STRONG&gt;Fields&lt;/STRONG&gt; category.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Click Edit&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_1-1713329482310.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101176i6A50A69E84D034C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_1-1713329482310.png" alt="Dale_Honeycutt_1-1713329482310.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Remove all the fields on the left by selecting them and deleting with the red X&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_2-1713329559108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101177iF51F6064AB89BBD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_2-1713329559108.png" alt="Dale_Honeycutt_2-1713329559108.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Add an Empty Field.&amp;nbsp; By default, the field is named &lt;EM&gt;NewField&lt;/EM&gt; , a text field 255 in length.&amp;nbsp; You can change it if you want, but keep it text and 255 long.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_3-1713329625893.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101178iADC5A7D3CE35ACCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_3-1713329625893.png" alt="Dale_Honeycutt_3-1713329625893.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;For &lt;STRONG&gt;Action&lt;/STRONG&gt;, chose Concatenate&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_4-1713329845482.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101179i270D04DD18E870E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_4-1713329845482.png" alt="Dale_Honeycutt_4-1713329845482.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Select &lt;EM&gt;LineNetwork&lt;/EM&gt; for Table&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_5-1713329917182.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101180iCAE7B9388A6A6B53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_5-1713329917182.png" alt="Dale_Honeycutt_5-1713329917182.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Select &lt;EM&gt;iso_id&lt;/EM&gt; for the Field.&amp;nbsp; The dialog should look like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_6-1713330000604.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101181i3DB89CB35EFD7036/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_6-1713330000604.png" alt="Dale_Honeycutt_6-1713330000604.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Click OK and run the tool.&amp;nbsp; The output table will look like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_7-1713330074823.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101182iDD4133558F668242/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_7-1713330074823.png" alt="Dale_Honeycutt_7-1713330074823.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Join_Count&lt;/EM&gt; is the number of lines connected to the junction (sometimes called 'valence' or 'degree') and &lt;EM&gt;NewField&lt;/EM&gt; is a list of the lines (by &lt;EM&gt;iso_id&lt;/EM&gt;) that connect to that junction.&amp;nbsp; Note &lt;EM&gt;iso_id&lt;/EM&gt; 6599 - it is made up of two dangles - junctions with only one line connected to it.&amp;nbsp; Other records where &lt;EM&gt;Join_Count&lt;/EM&gt; = 1 have dangling junctions but are connected to other non-dangling junctions.&amp;nbsp; For example, &lt;EM&gt;iso_id&lt;/EM&gt; 5001 appears in records 1 and 5.&amp;nbsp;&amp;nbsp;&lt;EM&gt;TARGET_FID&lt;/EM&gt; is the object id of &lt;EM&gt;J_LineNetwork&lt;/EM&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Select those records where &lt;EM&gt;Join_Count&lt;/EM&gt; = 1. (this isn't absolutely necessary -- it just removes a lot of noise when you run the next tool)&lt;/P&gt;&lt;P&gt;Run the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summary-statistics.htm" target="_self"&gt;Summary Statistics&lt;/A&gt; tool&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Input Table&lt;/STRONG&gt; = J_SpatialJoin&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use the selected records&amp;nbsp;&lt;/STRONG&gt;is toggled on&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Statistics Fields&lt;/STRONG&gt; = Join_Count with &lt;STRONG&gt;Statistic Type&lt;/STRONG&gt; = Sum&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Case Field&lt;/STRONG&gt; = NewField&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here's the output of Summary Statistics:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dale_Honeycutt_8-1713330827336.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101183iFBB6668B15D85730/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dale_Honeycutt_8-1713330827336.png" alt="Dale_Honeycutt_8-1713330827336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any record with a FREQUENCY/SUM_Join_Count = 2 (iso_id 6599) is a line with two dangles.&amp;nbsp; Any record with join count of 1 is a line with a dangle at one end. You can relate this table to the LineNetwork layer (NewField and iso_id are your join attributes), copy over the count, then use the count to select your two-dangle lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Caveat&lt;/STRONG&gt; &lt;/EM&gt;-- Lines with pseudo junctions are an issue with this method.&amp;nbsp; A pseudo junction is a junction with two lines connecting -- a Join_Count = 2 on the &lt;EM&gt;J_SpatialJoin&lt;/EM&gt; table.&amp;nbsp; Imagine line 6599 with a junction somewhere along the line.&amp;nbsp; In this case, there'd be two lines connecting with different iso_ids.&amp;nbsp; When the above method is used, those two lines would not be identified as a line with two dangles -- because there's that pseudo junction that connects them.&amp;nbsp; If you have this situation, you'll have to use the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/unsplit-line.htm" target="_self"&gt;Unsplit Line&lt;/A&gt; tool to merge the two lines.&amp;nbsp; If this is your situation, let me know and I can walk you through that process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If y'all made it this far, thank you and congratulations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 01:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1410756#M81939</guid>
      <dc:creator>Dale_Honeycutt</dc:creator>
      <dc:date>2024-04-19T01:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Network topology errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1412108#M82091</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp; for suggesting a solution to my problem . Your help has been invaluable and I greatly appreciate your expertise.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 08:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1412108#M82091</guid>
      <dc:creator>Bisacqatesta</dc:creator>
      <dc:date>2024-04-19T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Network topology errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1412516#M82125</link>
      <description>&lt;P&gt;You're welcome!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 20:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1412516#M82125</guid>
      <dc:creator>Dale_Honeycutt</dc:creator>
      <dc:date>2024-04-19T20:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Network topology errors</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1499915#M85129</link>
      <description>&lt;P&gt;I just submitted an Idea for this:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/find-orphan-lines/idi-p/1499910" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/find-orphan-lines/idi-p/1499910&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you agree with this idea, give it a Kudo - I think ideas with lots of kudos get more traction with Esri.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 15:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/network-topology-errors/m-p/1499915#M85129</guid>
      <dc:creator>Dale_Honeycutt</dc:creator>
      <dc:date>2024-07-01T15:42:54Z</dc:date>
    </item>
  </channel>
</rss>

