<?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: Merge Contiguous Lines Using Attribute Field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685291#M101982</link>
    <description>&lt;P&gt;OK, you will likely end up with multi-part features if you don't fill in the gaps.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Create multipart features: checked&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Unsplit lines: unchecked&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Also try, adding a flag field for the Buffer10FT. Repeat the dissolve with:&amp;nbsp;MSAG_name and&amp;nbsp;Buffer10FT &amp;nbsp;as&amp;nbsp;Dissolve Fields.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 18:16:19 GMT</pubDate>
    <dc:creator>AyanPalit</dc:creator>
    <dc:date>2026-02-19T18:16:19Z</dc:date>
    <item>
      <title>Merge Contiguous Lines Using Attribute Field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685261#M101979</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a feature class of almost 2,000 road lines that are split at every intersection and every bridge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to merge the roads together by the name of the road and the proximity of each line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in the photo below, I would like to merge each of the 3 frontage road areas circled in red into 3 groups. In each group, there are currently multiple segments of frontage road (blue is selected, pink is unselected). I do not want to merge the feeder roads into the frontage road segment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TrinityShuler02_1-1771520772371.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148626i3B0E59AEBE3080A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TrinityShuler02_1-1771520772371.png" alt="TrinityShuler02_1-1771520772371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the attribute table with all the frontage road segments selected:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TrinityShuler02_2-1771520915152.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148628iD6BBFAF6B3BC7A87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TrinityShuler02_2-1771520915152.png" alt="TrinityShuler02_2-1771520915152.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And here are the selected frontage road segments:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TrinityShuler02_3-1771520933779.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148629i47F3F1BBAF617336/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TrinityShuler02_3-1771520933779.png" alt="TrinityShuler02_3-1771520933779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been merging all the segments by hand using the Merge tool in the Edit features pane, however this is very time consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to build a script that uses the MSAG_Name field to merge together contiguous line segments with the same MSAG_name?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking of some sort of if, then statement, such as if MSAG_Name = MSAG_Name AND segments are within 10 ft of each other, then merge. But I am very unfamiliar with Python or other coding languages, so I do not know how to write that myself.&lt;/P&gt;&lt;P&gt;The Pairwise Dissolve tool does not totally solve my problem because then all the features with the same MSAG_Name dissolve into 1 feature, but I need to retain the contiguous segments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 17:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685261#M101979</guid>
      <dc:creator>TrinityShuler02</dc:creator>
      <dc:date>2026-02-19T17:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Contiguous Lines Using Attribute Field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685275#M101980</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/798778"&gt;@TrinityShuler02&lt;/a&gt;&amp;nbsp;Try &lt;A href="https://pro.arcgis.com/en/pro-app/3.6/tool-reference/data-management/dissolve.htm" target="_blank" rel="noopener"&gt;Dissolve&lt;/A&gt;&amp;nbsp;gp tool using&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;MSAG_name as&amp;nbsp;Dissolve Field. Pay special attention to the parameters:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Create multipart features: unchecked&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Unsplit lines: checked&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Change the parameters to get your desired output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;REF:&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/h-how-dissolve-data-management-works.htm" target="_self"&gt;&amp;nbsp;How Dissolve works&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 17:50:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685275#M101980</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2026-02-19T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Contiguous Lines Using Attribute Field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685285#M101981</link>
      <description>&lt;P&gt;This did not solve my issue, I need to be able to merge features together within a certain distance, not just features touching vertices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TrinityShuler02_0-1771523985600.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/148646i85FDE63A3400B5B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TrinityShuler02_0-1771523985600.png" alt="TrinityShuler02_0-1771523985600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The three blue lines are within about 10 ft from one another, I would want all four of those segments to be included with the pink line feature.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 18:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685285#M101981</guid>
      <dc:creator>TrinityShuler02</dc:creator>
      <dc:date>2026-02-19T18:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Contiguous Lines Using Attribute Field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685291#M101982</link>
      <description>&lt;P&gt;OK, you will likely end up with multi-part features if you don't fill in the gaps.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Create multipart features: checked&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Unsplit lines: unchecked&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Also try, adding a flag field for the Buffer10FT. Repeat the dissolve with:&amp;nbsp;MSAG_name and&amp;nbsp;Buffer10FT &amp;nbsp;as&amp;nbsp;Dissolve Fields.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 18:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1685291#M101982</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2026-02-19T18:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Contiguous Lines Using Attribute Field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1687690#M102144</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/798778"&gt;@TrinityShuler02&lt;/a&gt;&amp;nbsp;Curious if you got this to work? Please post the solution for others in the community.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 16:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/merge-contiguous-lines-using-attribute-field/m-p/1687690#M102144</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2026-03-02T16:06:40Z</dc:date>
    </item>
  </channel>
</rss>

