<?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: Unable to export all feature from a polyline feature Class in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1474467#M70606</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796187"&gt;@ArchitGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code worked fine for me when selecting all lines between two points. There was an issue if the Map was in a different projection that the layer itself.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 11:54:28 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2024-05-17T11:54:28Z</dc:date>
    <item>
      <title>Unable to export all feature from a polyline feature Class</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1463986#M70580</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I have created a Script tool in ArcGIS Pro using Python which should allow us to do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Takes two points input from the user let's say "Start point" and "End point".&lt;/LI&gt;&lt;LI&gt;Export all the features and attributes between start and end to the output feature class.&lt;/LI&gt;&lt;LI&gt;Change the value of an attribute "IsConnected" from "True" to "False" in Output.&lt;/LI&gt;&lt;LI&gt;Make sure all the features between the two drawn points are exported correctly without any issues.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, it does not export the data as needed, the behavior it shows as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the number of lines between the two drawn points is one line : Works Successfully&lt;/LI&gt;&lt;LI&gt;If the number of line feature are more than one&amp;nbsp;between the two drawn points is one line&amp;nbsp;&lt;UL&gt;&lt;LI&gt;Exported attribute table shows all the data which falls between the drawn inputs&lt;/LI&gt;&lt;LI&gt;Doesn't show all the features on exported features on Map, only few show up.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Input method&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Input.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104019i9471CCF87E4E6740/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Input.png" alt="Input.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104021i878423E7E567E58B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Result.png" alt="Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All the attribute data between "Start point" and "end point" is visible in Output but when I try to draw that on the map, it draw only which is shows in selected above&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArchitSrivaGIS_0-1715664454683.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104022i0A15895E62211B56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArchitSrivaGIS_0-1715664454683.png" alt="ArchitSrivaGIS_0-1715664454683.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The logical approach taken for this in script:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Draw two points on the map.&lt;/LI&gt;&lt;LI&gt;Create a line geometry connecting the two points.&lt;/LI&gt;&lt;LI&gt;Buffer the line geometry to create a search area.&lt;/LI&gt;&lt;LI&gt;Select all polyline features that intersect with the buffer zone.&lt;/LI&gt;&lt;LI&gt;Export the selected features to the output feature class.&lt;/LI&gt;&lt;LI&gt;Change the value of the "IsConnected" field to "False" for the exported features.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Script used : Will attach if needed&lt;/P&gt;&lt;P&gt;As of no, I am unsure of what could be going wrong. It would be really helpful if anyone can share some thought on this or maybe let me know if I missed something or if there is an easier approach to achieve this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 05:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1463986#M70580</guid>
      <dc:creator>ArchitGIS</dc:creator>
      <dc:date>2024-05-14T05:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export all feature from a polyline feature Class</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1465768#M70582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796187"&gt;@ArchitGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be beneficial to see the script to see how the code matches your logical steps.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1465768#M70582</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-05-14T10:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export all feature from a polyline feature Class</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1465778#M70583</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/417766"&gt;@Clubdebambos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I am unable to attach the files for some reason. Hence, uploaded it to files share&lt;/P&gt;&lt;P&gt;URL&amp;nbsp; :&amp;nbsp;&lt;A href="https://uploadnow.io/f/JkMM4L9" target="_blank"&gt;https://uploadnow.io/f/JkMM4L9&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File name :&amp;nbsp;last_working_tool.zip&lt;/P&gt;&lt;P&gt;Also, a screenshot of the ArcGIS pro parameters:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArchitGIS_0-1715682071050.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104038i43C5D061CFE3B7BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArchitGIS_0-1715682071050.png" alt="ArchitGIS_0-1715682071050.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1465778#M70583</guid>
      <dc:creator>ArchitGIS</dc:creator>
      <dc:date>2024-05-14T10:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export all feature from a polyline feature Class</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1474467#M70606</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796187"&gt;@ArchitGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code worked fine for me when selecting all lines between two points. There was an issue if the Map was in a different projection that the layer itself.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 11:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1474467#M70606</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-05-17T11:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export all feature from a polyline feature Class</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1475006#M70619</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/417766"&gt;@Clubdebambos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for checking this. That's an interesting find, I will test with different projections and hopefully that's the reason on my side as well.&lt;/P&gt;&lt;P&gt;Will share the test results soon.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2024 09:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-export-all-feature-from-a-polyline/m-p/1475006#M70619</guid>
      <dc:creator>ArchitGIS</dc:creator>
      <dc:date>2024-05-19T09:10:43Z</dc:date>
    </item>
  </channel>
</rss>

