<?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: Splitting a line  where it crosses polygon boundary in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301932#M23480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible solution to split the lines would be to use XTools Pro (&lt;A href="http://www.xtoolspro.com/" title="http://www.xtoolspro.com/"&gt;http://www.xtoolspro.com/&lt;/A&gt; ), a third-party add-in for ArcGIS. They have a function called "Split Polylines" that includes the option to split lines based on a second line layer.&amp;nbsp; Their is a free version of XTools so one can try it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feature Conversions, Split Polylines, Split Polylines by another layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have your roadwork split, I believe you then could then do a spatial join to add the land value to the roads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 19:07:15 GMT</pubDate>
    <dc:creator>ChrisDonohue__GISP</dc:creator>
    <dc:date>2014-12-10T19:07:15Z</dc:date>
    <item>
      <title>Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301928#M23476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple railway line, linking two rail stations, which is defined by a polyline array and a polygon feature class representing land value. I need to be able to attribute each railway segment with the land value that it falls within. The tricky part is that the railway crosses different land value boundaries and I need to be able to split it at the boundary so each segment will only fall within one land value. Does anyone have accomplished problem like this using Python? Or is there any way to do it using geometry objects? Or might there be a different solution I'm missing? &lt;/P&gt;&lt;P&gt;Any help and suggestions would be greatly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301928#M23476</guid>
      <dc:creator>ChroAhmed</dc:creator>
      <dc:date>2014-12-10T12:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301929#M23477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Polyline/018z00000008000000/"&gt;cutter method &lt;/A&gt;in the Polyline class, but I haven't tried it yet so I don't know if it is what you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:52:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301929#M23477</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-10T12:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301930#M23478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your quick response and suggestion.The cutter method in the polyline class is only available form ArcGIS 10.2 and later versions , and I got ArcGIS 10.1.&amp;nbsp; So, I wonder to know if there is any other possible alternative to try .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 14:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301930#M23478</guid>
      <dc:creator>ChroAhmed</dc:creator>
      <dc:date>2014-12-10T14:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301931#M23479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I don't...I wish they would add a "...added in version xx.x..." to new functions, methods and properties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 15:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301931#M23479</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-10T15:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301932#M23480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible solution to split the lines would be to use XTools Pro (&lt;A href="http://www.xtoolspro.com/" title="http://www.xtoolspro.com/"&gt;http://www.xtoolspro.com/&lt;/A&gt; ), a third-party add-in for ArcGIS. They have a function called "Split Polylines" that includes the option to split lines based on a second line layer.&amp;nbsp; Their is a free version of XTools so one can try it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feature Conversions, Split Polylines, Split Polylines by another layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have your roadwork split, I believe you then could then do a spatial join to add the land value to the roads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 19:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301932#M23480</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2014-12-10T19:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301933#M23481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done things like this in the past. You can use the tool box and the spatial analysis tools see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Split_(Analysis)"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Split_(Analysis)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then spatial join the splitted line with the polygon features so the splitted lines will get the values of the polygons.&lt;/P&gt;&lt;P&gt;Also you may build a model in model builder with this and automate this procedure for future use&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 05:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301933#M23481</guid>
      <dc:creator>PantelisRodis</dc:creator>
      <dc:date>2014-12-11T05:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a line  where it crosses polygon boundary</title>
      <link>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301934#M23482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your suggestion. I will try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 08:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/splitting-a-line-160-where-it-crosses-polygon/m-p/301934#M23482</guid>
      <dc:creator>ChroAhmed</dc:creator>
      <dc:date>2014-12-11T08:53:49Z</dc:date>
    </item>
  </channel>
</rss>

