<?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 Points To Line GP tool: Support multi-part polylines in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idi-p/1164916</link>
    <description>&lt;P&gt;As far as I can tell, the&amp;nbsp;Points To Line GP tool can’t be used to create multi-part polylines:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/points-to-line.htm" target="_self"&gt;Points To Line GP tool&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;ASSET_ID     PART_NUM VERTEX_NUM          X          Y          M
&lt;SPAN class=""&gt;---------- ---------- ---------- ---------- ---------- ----------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;          &lt;SPAN class=""&gt;5&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;2&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;11.18&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;3&lt;/SPAN&gt;         &lt;SPAN class=""&gt;30&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;      &lt;SPAN class=""&gt;33.54&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;2&lt;/SPAN&gt;          &lt;SPAN class=""&gt;1&lt;/SPAN&gt;         &lt;SPAN class=""&gt;50&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;33.54&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;2&lt;/SPAN&gt;          &lt;SPAN class=""&gt;2&lt;/SPAN&gt;         &lt;SPAN class=""&gt;60&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;43.54&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1650064588183.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39026i8CA2F87A7E3A2E2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1650064588183.png" alt="Bud_0-1650064588183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could support for multi-part features be added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 23:20:20 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-04-15T23:20:20Z</dc:date>
    <item>
      <title>Points To Line GP tool: Support multi-part polylines</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idi-p/1164916</link>
      <description>&lt;P&gt;As far as I can tell, the&amp;nbsp;Points To Line GP tool can’t be used to create multi-part polylines:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/points-to-line.htm" target="_self"&gt;Points To Line GP tool&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;ASSET_ID     PART_NUM VERTEX_NUM          X          Y          M
&lt;SPAN class=""&gt;---------- ---------- ---------- ---------- ---------- ----------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;          &lt;SPAN class=""&gt;5&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;2&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;11.18&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;1&lt;/SPAN&gt;          &lt;SPAN class=""&gt;3&lt;/SPAN&gt;         &lt;SPAN class=""&gt;30&lt;/SPAN&gt;          &lt;SPAN class=""&gt;0&lt;/SPAN&gt;      &lt;SPAN class=""&gt;33.54&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;2&lt;/SPAN&gt;          &lt;SPAN class=""&gt;1&lt;/SPAN&gt;         &lt;SPAN class=""&gt;50&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;33.54&lt;/SPAN&gt;
&lt;SPAN class=""&gt;001&lt;/SPAN&gt;                 &lt;SPAN class=""&gt;2&lt;/SPAN&gt;          &lt;SPAN class=""&gt;2&lt;/SPAN&gt;         &lt;SPAN class=""&gt;60&lt;/SPAN&gt;         &lt;SPAN class=""&gt;10&lt;/SPAN&gt;      &lt;SPAN class=""&gt;43.54&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1650064588183.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39026i8CA2F87A7E3A2E2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1650064588183.png" alt="Bud_0-1650064588183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could support for multi-part features be added?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 23:20:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idi-p/1164916</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-04-15T23:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Points To Line GP tool: Support multi-part polylines</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idc-p/1167574#M19419</link>
      <description>&lt;P&gt;I think this is a good idea, improves the tool beyond its basic function.&amp;nbsp; This is a script tool and you could actually edit the python code if you feel brave enough, although I would recommend you back up the source code first in case you mess it up. Looking at the code it's obviously an old tool as the cursors they use are the older slower variety so changing them to the cursors in the da module could even speed things up. If any of the ESRI developers are reading this may be it's time to review some of your earlier scripting tools and bring them up to date?&lt;/P&gt;&lt;P&gt;As an alternative work around you could explore this workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Convert your text table into a CSV file&lt;/LI&gt;&lt;LI&gt;Using the XY Table to Point to convert them into a point dataset&lt;/LI&gt;&lt;LI&gt;Concatenate ASSET_ID and PART_NUM into a single text field&lt;/LI&gt;&lt;LI&gt;Use point to line tool to convert to lines but use the concatenated field as the Line Field parameter&lt;/LI&gt;&lt;LI&gt;Run Join Field and&amp;nbsp; and join on concatenated field, joining back the ASSET_ID&lt;/LI&gt;&lt;LI&gt;Run Dissolve, dissolving on ASSET_ID and ensure create multipart features is ticked on&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This could all be packaged up as a model tool.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idc-p/1167574#M19419</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-04-25T16:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Points To Line GP tool: Support multi-part polylines</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idc-p/1167578#M19420</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515"&gt;@DuncanHornby&lt;/a&gt;&amp;nbsp;Thanks Duncan. That helps.&lt;/P&gt;&lt;P&gt;Good call about cursors. I posted an idea just now for that:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/update-ootb-gp-tools-so-that-they-use-the-new-da/idi-p/1167582/jump-to/first-unread-message" target="_self"&gt;Update OOTB GP tools so that they use the new DA cursors.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/points-to-line-gp-tool-support-multi-part/idc-p/1167578#M19420</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-04-25T16:28:00Z</dc:date>
    </item>
  </channel>
</rss>

