<?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: Retrive the Endpoints of Lines inside Polygons in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1266935#M67061</link>
    <description>&lt;P&gt;Maybe start with a temporary layer of start nodes and end nodes from the pipelines? There is a tool to do this. Then overlays of the node points would give you the ends. Keep track of the objectids to get references to the original lines.&lt;/P&gt;</description>
    <pubDate>Sun, 12 Mar 2023 22:07:03 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2023-03-12T22:07:03Z</dc:date>
    <item>
      <title>Retrive the Endpoints of Lines inside Polygons</title>
      <link>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1263414#M66979</link>
      <description>&lt;P&gt;I have a pipeline feature class (line) and a pumping station feature class (polygon). Now, I wants to retrieve the endpoints of pipelines (green points) inside pumping stations. I have used the "Intersect" geoprocessing tool but it only retrieves the intersections of pipelines and pumping stations (grey points). How can I do so by arcPy?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pipeline_Pumping_Station.png" style="width: 358px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64140iE75BD6C773F2266F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pipeline_Pumping_Station.png" alt="Pipeline_Pumping_Station.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 07:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1263414#M66979</guid>
      <dc:creator>MatsHardy</dc:creator>
      <dc:date>2023-03-02T07:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrive the Endpoints of Lines inside Polygons</title>
      <link>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1263443#M66980</link>
      <description>&lt;P&gt;From&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/how-intersect-analysis-works.htm" target="_blank"&gt;How Intersect works—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;with the intersection set to&amp;nbsp;&lt;EM&gt;Polygon and line input for line output&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;You will get a line as the output.&amp;nbsp; It is just a matter then of querying the line's start and endpoint as to whether it is furthest from the edge.&amp;nbsp; One will be on the edge (Near distance of 0) and the other will be inside (Near distance &amp;gt; 0).&amp;nbsp; Odd cases you probably won't encounter is when the line is exactly on a polygon edge (Near distance == 0 for both)&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 10:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1263443#M66980</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-02T10:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Retrive the Endpoints of Lines inside Polygons</title>
      <link>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1266935#M67061</link>
      <description>&lt;P&gt;Maybe start with a temporary layer of start nodes and end nodes from the pipelines? There is a tool to do this. Then overlays of the node points would give you the ends. Keep track of the objectids to get references to the original lines.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2023 22:07:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1266935#M67061</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2023-03-12T22:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrive the Endpoints of Lines inside Polygons</title>
      <link>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1271833#M67226</link>
      <description>&lt;P&gt;Many thx.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrive-the-endpoints-of-lines-inside-polygons/m-p/1271833#M67226</guid>
      <dc:creator>MatsHardy</dc:creator>
      <dc:date>2023-03-27T10:07:13Z</dc:date>
    </item>
  </channel>
</rss>

