<?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: Select lines on lines in same file in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049682#M2383</link>
    <description>&lt;P&gt;Thanks for your reply. I'm not quite following.&amp;nbsp; I added the Bearings field.&amp;nbsp; When you say use the geometry field in Find Identical I take it you mean the Shape field?&amp;nbsp; I did so and have the list of duplicates.&amp;nbsp; I can relate that result back to the line file and select all the duplicates, but how are you suggesting I limit the selection to only the lines on top of others using the bearing?&amp;nbsp; I added a screen cap of a small selection if that helps. These lines are all stacked. The lines in yellow show one example of two duplicate stacked lines.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.GIF" style="width: 579px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11442i97E75678B3C8C26F/image-dimensions/579x591?v=v2" width="579" height="591" role="button" title="Capture.GIF" alt="Capture.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 17:01:59 GMT</pubDate>
    <dc:creator>DanSeidensticker</dc:creator>
    <dc:date>2021-04-21T17:01:59Z</dc:date>
    <item>
      <title>Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049428#M2376</link>
      <description>&lt;P&gt;I have a street centerline shape file where segments for bi-directional roadways are drawn as two stacked lines. The top segment for one direction of travel, the bottom segment for the opposite direction of travel.&lt;/P&gt;&lt;P&gt;I need to separate these stacked lines into two different shape files.&amp;nbsp; Anyone know how to select just the top set of lines so I can export them to a different file. I can just use switch selection to get the second set of lines then.&lt;/P&gt;&lt;P&gt;Unfortunately none of the table attributes represent the top versus bottom segment, or direction of travel.&amp;nbsp; The geometry of the top and bottom segments are the same.&lt;/P&gt;&lt;P&gt;I looked at commands such as Find Identical, but that still selects both the top and bottom at the same time.&lt;/P&gt;&lt;P&gt;Looking for a solution in ArcGIS Desktop 10.6.1 Advanced or ArcGIS Pro 2.6.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 01:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049428#M2376</guid>
      <dc:creator>DanSeidensticker</dc:creator>
      <dc:date>2021-04-21T01:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049436#M2377</link>
      <description>&lt;P&gt;Add Geometry Attributes&amp;nbsp; &amp;nbsp;add the Bearing.&lt;/P&gt;&lt;P&gt;Find Identical .... just use the geometry field and you should get the duplicate geometries with different Bearings.&lt;/P&gt;&lt;P&gt;From there, your rule set to determine which is on top and which is on the bottom.&amp;nbsp; A quick symbology style using arrow line style would help&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 01:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049436#M2377</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-21T01:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049561#M2380</link>
      <description>&lt;P&gt;I just have to ask; why do you model your directions as two different geometries and not as an attribute value?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049561#M2380</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-04-21T14:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049682#M2383</link>
      <description>&lt;P&gt;Thanks for your reply. I'm not quite following.&amp;nbsp; I added the Bearings field.&amp;nbsp; When you say use the geometry field in Find Identical I take it you mean the Shape field?&amp;nbsp; I did so and have the list of duplicates.&amp;nbsp; I can relate that result back to the line file and select all the duplicates, but how are you suggesting I limit the selection to only the lines on top of others using the bearing?&amp;nbsp; I added a screen cap of a small selection if that helps. These lines are all stacked. The lines in yellow show one example of two duplicate stacked lines.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.GIF" style="width: 579px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11442i97E75678B3C8C26F/image-dimensions/579x591?v=v2" width="579" height="591" role="button" title="Capture.GIF" alt="Capture.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 17:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049682#M2383</guid>
      <dc:creator>DanSeidensticker</dc:creator>
      <dc:date>2021-04-21T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049684#M2384</link>
      <description>&lt;P&gt;I very much agree. It's not they way I model things either, but this is coming from a State DOT model I did not develop.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 17:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049684#M2384</guid>
      <dc:creator>DanSeidensticker</dc:creator>
      <dc:date>2021-04-21T17:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049687#M2385</link>
      <description>&lt;P&gt;Engineers love to make things waaay more complex than the need to be...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 17:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1049687#M2385</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-04-21T17:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select lines on lines in same file</title>
      <link>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1051515#M2414</link>
      <description>&lt;P&gt;I ended up combining the From and To Nodes into a single field ordered low to high using str(min( !A!, !B!)) + "_" + str (max(!A!, !B!)).&amp;nbsp; Then added a Dup field to identify the duplicate records.&lt;/P&gt;&lt;P&gt;uniqueList = []&lt;BR /&gt;def isDuplicate(inValue):&lt;BR /&gt;if inValue in uniqueList:&lt;BR /&gt;return 1&lt;BR /&gt;else:&lt;BR /&gt;uniqueList.append(inValue)&lt;BR /&gt;return 0&lt;/P&gt;&lt;P&gt;Dup = isDuplicate(!A_B!!)&lt;/P&gt;&lt;P&gt;From that I could query and export the two sets of lines using Dup = 0 and Dup =1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanSeidensticker_0-1619471412350.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11891i5B560446F0D72099/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanSeidensticker_0-1619471412350.png" alt="DanSeidensticker_0-1619471412350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 21:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/select-lines-on-lines-in-same-file/m-p/1051515#M2414</guid>
      <dc:creator>DanSeidensticker</dc:creator>
      <dc:date>2021-04-26T21:14:12Z</dc:date>
    </item>
  </channel>
</rss>

