<?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 Lines that touch same polygon two times in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137762#M7955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have lines that touch neighboring polygons. But in some cases line touch same polygons two times, which I do not need.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thus, I would like to select those line that touch one polygons two times and remove them.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Or, I would like to select lines that touch and connect different polygons.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am using ArcGIS 10.4.1 with python, arcpy library.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I would be happy to have any suggestions to solve the case.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/398923_2018-03-15 11_06_21-groupping_12032018 - ArcMap.png" style="width: 620px; height: 368px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2018 10:15:42 GMT</pubDate>
    <dc:creator>AzimjonSayidov</dc:creator>
    <dc:date>2018-03-15T10:15:42Z</dc:date>
    <item>
      <title>Lines that touch same polygon two times</title>
      <link>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137762#M7955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have lines that touch neighboring polygons. But in some cases line touch same polygons two times, which I do not need.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thus, I would like to select those line that touch one polygons two times and remove them.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Or, I would like to select lines that touch and connect different polygons.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am using ArcGIS 10.4.1 with python, arcpy library.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I would be happy to have any suggestions to solve the case.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/398923_2018-03-15 11_06_21-groupping_12032018 - ArcMap.png" style="width: 620px; height: 368px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137762#M7955</guid>
      <dc:creator>AzimjonSayidov</dc:creator>
      <dc:date>2018-03-15T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lines that touch same polygon two times</title>
      <link>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137763#M7956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is hard to tell from the picture an example of a line that touches twice and where the intersection occurs.&lt;/P&gt;&lt;P&gt;Can you narrow in an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137763#M7956</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-15T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lines that touch same polygon two times</title>
      <link>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137764#M7957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here,&amp;nbsp;polygons number 0 and polygon number 3 are connected with blue lines. But there are some lines in black that only touch one polygons, touching only polygon number 0 or polygons number 3.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/398926_pastedImage_2.png" style="width: 620px; height: 368px;" /&gt;&lt;IMG class="image-2 jive-image" height="372" src="https://community.esri.com/legacyfs/online/398939_pastedImage_3.png" width="627" /&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/398940_pastedImage_4.png" style="width: 620px; height: 368px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137764#M7957</guid>
      <dc:creator>AzimjonSayidov</dc:creator>
      <dc:date>2018-03-15T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lines that touch same polygon two times</title>
      <link>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137765#M7958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Azimjon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to accomplish this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Convert the lines end points to vertices using the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/feature-vertices-to-points.htm"&gt;Feature Vertices to Points&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Run a &lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/tools/analysis-toolbox/spatial-join.htm"&gt;spatial join&lt;/A&gt; on the vertices point layer and the polygon layer&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Run the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/tools/analysis-toolbox/summary-statistics.htm"&gt;summary statistics&lt;/A&gt; tool on the spatial join output specifying the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/398953_Screen1.PNG" style="width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LINE_ID&lt;/STRONG&gt; = unique identifier for line feature class&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt; = unique identifier for polygon feature class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; In the output table select all records that have a frequency of 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/398960_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will provide you with the unique LINE_ID for the features that touch the same polygon twice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 14:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/lines-that-touch-same-polygon-two-times/m-p/137765#M7958</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-03-15T14:22:04Z</dc:date>
    </item>
  </channel>
</rss>

