<?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: How to Cut Lines at Points? Need Tips for Automating with Python in Gas and Pipeline Questions</title>
    <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567719#M729</link>
    <description>&lt;P&gt;I'm sure there are workarounds.....but it's outside of my area of knowledge. If you don't have access to that tool, then I think you'll have to use Python. Here are a couple of links that might be helpful. Both links include a Python script that avoids using that tool because they don't have an advanced license.&lt;/P&gt;&lt;P&gt;I haven't tried using those scripts, but it might point you in the right direction.&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/101472/split-line-at-a-point-with-arcgis-10-1-basic-level-license" target="_blank"&gt;Split line at a point with ArcGIS 10.1 Basic level license? - Geographic Information Systems Stack Exchange&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/154708/standalone-python-script-to-split-a-polyline-with-a-point-layer" target="_blank"&gt;arcpy - Standalone Python script to split a polyline with a point layer - Geographic Information Systems Stack Exchange&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 12:32:18 GMT</pubDate>
    <dc:creator>RyanUthoff</dc:creator>
    <dc:date>2024-12-12T12:32:18Z</dc:date>
    <item>
      <title>How to Cut Lines at Points? Need Tips for Automating with Python</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567707#M726</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m working on a project using LiDAR data to scan lines, and I’ve run into a challenge I hope someone here can help with.&lt;/P&gt;&lt;P&gt;Long story short: the line wires were not connected, so I extended the parallel lines by 5m and generated points where the extended lines intersect. However, I’m now stuck trying to figure out how to cut the lines at these intersection points and remove the small, useless segments that were created by the extension.&lt;/P&gt;&lt;P&gt;Here’s an example image of the situation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GIS_Rookie_0-1734002238367.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121532i9E6FBD45082C9A77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GIS_Rookie_0-1734002238367.png" alt="GIS_Rookie_0-1734002238367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have ideas or tips for automating this process using Python? Any help or pointers would be greatly appreciated!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;P.s. I don’t have the license to use the &lt;EM&gt;Split Line At Point tool&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;GIS_Rookie&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 12:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567707#M726</guid>
      <dc:creator>GIS_Rookie</dc:creator>
      <dc:date>2024-12-12T12:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Cut Lines at Points? Need Tips for Automating with Python</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567709#M727</link>
      <description>&lt;P&gt;What you should be able to do is use the Split Line at Point tool. Select your line layer and the point layer that you created where the lines intersect. This will split the lines at each point. Then, you can just do a select by attribute based on the length column and delete any lines 5m or less (this is assuming that you don't have any legitimate lines that are 5m or less that you need to keep).&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 11:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567709#M727</guid>
      <dc:creator>RyanUthoff</dc:creator>
      <dc:date>2024-12-12T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Cut Lines at Points? Need Tips for Automating with Python</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567713#M728</link>
      <description>&lt;P&gt;Thank you for the suggestion, but unfortunately, I don’t have the license to use the &lt;EM&gt;Split Line At Point&lt;/EM&gt; tool. Is there a workaround for this? I’m open to using Python if that’s an option. Could you share the logic or steps I could follow to achieve the same result programmatically?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 11:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567713#M728</guid>
      <dc:creator>GIS_Rookie</dc:creator>
      <dc:date>2024-12-12T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Cut Lines at Points? Need Tips for Automating with Python</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567719#M729</link>
      <description>&lt;P&gt;I'm sure there are workarounds.....but it's outside of my area of knowledge. If you don't have access to that tool, then I think you'll have to use Python. Here are a couple of links that might be helpful. Both links include a Python script that avoids using that tool because they don't have an advanced license.&lt;/P&gt;&lt;P&gt;I haven't tried using those scripts, but it might point you in the right direction.&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/101472/split-line-at-a-point-with-arcgis-10-1-basic-level-license" target="_blank"&gt;Split line at a point with ArcGIS 10.1 Basic level license? - Geographic Information Systems Stack Exchange&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis.stackexchange.com/questions/154708/standalone-python-script-to-split-a-polyline-with-a-point-layer" target="_blank"&gt;arcpy - Standalone Python script to split a polyline with a point layer - Geographic Information Systems Stack Exchange&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 12:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567719#M729</guid>
      <dc:creator>RyanUthoff</dc:creator>
      <dc:date>2024-12-12T12:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Cut Lines at Points? Need Tips for Automating with Python</title>
      <link>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567791#M730</link>
      <description>&lt;P&gt;If there isn't already a vertex where the lines cross you may be able to use the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/editing/snap.htm" target="_blank" rel="noopener"&gt;Snap tool&lt;/A&gt; to snap the endpoints of those two lines together. It only requires a standard license and has the added benefit of not needing to delete any dangling lines.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 15:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/gas-and-pipeline-questions/how-to-cut-lines-at-points-need-tips-for/m-p/1567791#M730</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-12-12T15:08:42Z</dc:date>
    </item>
  </channel>
</rss>

