<?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 How to split an entire roadway network into segments of one mile length in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92304#M3150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on Identification of Secondary crashes and proposed method is segment based. Following is the scenario:&lt;/P&gt;&lt;P&gt;1. The entire roadway network consists of several thousand links (which are polylines)&lt;/P&gt;&lt;P&gt;2. I used the Split tool under Editor to split a single link but Split command becomes grayed when when I do multiple selection.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help on&amp;nbsp; this. Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2014 19:18:22 GMT</pubDate>
    <dc:creator>AfridSarker</dc:creator>
    <dc:date>2014-08-07T19:18:22Z</dc:date>
    <item>
      <title>How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92304#M3150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on Identification of Secondary crashes and proposed method is segment based. Following is the scenario:&lt;/P&gt;&lt;P&gt;1. The entire roadway network consists of several thousand links (which are polylines)&lt;/P&gt;&lt;P&gt;2. I used the Split tool under Editor to split a single link but Split command becomes grayed when when I do multiple selection.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help on&amp;nbsp; this. Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 19:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92304#M3150</guid>
      <dc:creator>AfridSarker</dc:creator>
      <dc:date>2014-08-07T19:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92305#M3151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One workflow might be to create station points along the line network at 1 mile intervals (&lt;A href="http://www.ian-ko.com/"&gt;using ETGeoTools&lt;/A&gt; free functions). That tools outputs the point locations which could then be used to &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000003w000000"&gt;Split Line by Point&lt;/A&gt; (Esri ArcCatalog tool). Probably a couple of other ways to tackle this as well, I'm sure the community will chip in, good luck! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 21:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92305#M3151</guid>
      <dc:creator>BenGrod</dc:creator>
      <dc:date>2015-03-17T21:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92306#M3152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arcpy implementation (then Split by Lines):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; fc = "YOUR_LAYER_NAME"
... points = []
... step = 2 # map units
... sr = arcpy.Describe(fc).spatialReference
... with arcpy.da.SearchCursor(fc,"SHAPE@", spatial_reference=sr) as cursor:
...&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i in range(int(row[0].length/step)):
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; point = row[0].positionAlongLine(i*step)
...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; points.append(point)
... arcpy.CopyFeatures_management(points, r'in_memory\points')&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:32:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92306#M3152</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-10T23:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92307#M3153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been referenced several times with success... &lt;A href="https://arcpy.wordpress.com/2014/10/30/split-into-equal-length-features/"&gt;from Arcpy Cafe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDITs ( by me.... thanks to Darren)&lt;/P&gt;&lt;P&gt;from that link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;segmentAlongLine&amp;nbsp; ==&amp;gt;&amp;gt;&amp;nbsp; &lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/classes/polyline.htm"&gt;ArcMap&amp;nbsp; 10.3 arcpy Polyline class, segmentAlongLine​&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That Arcpy Café link, indicates, somewhat out of sight, and within the comments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Their edit&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;EDIT: As was pointed out in the comments, the segmentAlongLine is new at 10.3.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Soooo it will or won't solve your problem, depending upon Arcmap version&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 01:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92307#M3153</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-03-18T01:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92308#M3154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a small nit-pick: the method in your link splits lines into x equal lengths, not segments of x length. Subtle difference, and I am sure it has been solved elsewhere, but not there. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 05:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/92308#M3154</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-03-18T05:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to split an entire roadway network into segments of one mile length</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/1023796#M25146</link>
      <description>&lt;P&gt;Hey Darren, I need to split a road network into 100m segments. I encounter problems in the split because ArcGIS pro auto splits the network at nodes. Any chance you can offer some advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CassidyMacDonald_0-1612501609462.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5373iA4AA3AC206CCA482/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CassidyMacDonald_0-1612501609462.png" alt="CassidyMacDonald_0-1612501609462.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 05:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-split-an-entire-roadway-network-into/m-p/1023796#M25146</guid>
      <dc:creator>CassidyMacDonald</dc:creator>
      <dc:date>2021-02-05T05:07:09Z</dc:date>
    </item>
  </channel>
</rss>

