<?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>idea Arcade ExplodeSegments() function in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idi-p/1155642</link>
    <description>&lt;P&gt;Could an Arcade function be added that would explode geometries into separate lines for each segment?&lt;/P&gt;&lt;P&gt;That would be helpful when doing complex analysis on polyline segments.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 14:40:02 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-03-21T14:40:02Z</dc:date>
    <item>
      <title>Arcade ExplodeSegments() function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idi-p/1155642</link>
      <description>&lt;P&gt;Could an Arcade function be added that would explode geometries into separate lines for each segment?&lt;/P&gt;&lt;P&gt;That would be helpful when doing complex analysis on polyline segments.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idi-p/1155642</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-21T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Explode() geometry function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155650#M19087</link>
      <description>&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#multiparttosinglepart" target="_blank" rel="noopener"&gt;MultiPartToSinglePart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 11:11:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155650#M19087</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-03-21T11:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Explode() geometry function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155652#M19088</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;@Thanks, what I meant was: explode a given polyline part into multiple 2-vertex segments (split at each vertex).&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 11:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155652#M19088</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-21T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Explode() geometry function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155656#M19089</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/split-line-at-vertices.htm" target="_blank"&gt;Split Line At Vertices (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but then you would be getting into Arcade having different license levels&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 12:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155656#M19089</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-03-21T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Explode() geometry function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155711#M19095</link>
      <description>&lt;P&gt;I don't know... Seems like a quite narrow use case to make a function for. Plus, you can easily do it yourself:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function explode_polyline(geo) {
    var segments = []
    for(var p in geo.paths) {
        for(var q = 1; q &amp;lt; Count(geo.paths[p]); q++) {
            var point0 = paths[p][q-1]
            var point1 = paths[p][q]
            Push(segments, Polyline({"paths": [[point0, point1]], "spatialReference": geo.spatialReference}))
        }
    }
    return segments
}


Console(explode_polyline(Geometry($feature)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155711#M19095</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-03-21T14:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade ExplodeSegments() function</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155727#M19096</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;Fair enough.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;, feel free to close. Cheers.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155727#M19096</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-21T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade ExplodeSegments() function - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155757#M19097</link>
      <description>&lt;P&gt;As noted, each segment can be obtained by looping through the vertices of the geometry.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-explodesegments-function/idc-p/1155757#M19097</guid>
      <dc:creator>CraigWilliams</dc:creator>
      <dc:date>2022-03-21T15:28:48Z</dc:date>
    </item>
  </channel>
</rss>

