<?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: Stacking Labels of Multiple Features in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638897#M97819</link>
    <description>&lt;P&gt;So I found a way to do this using old school VBScript!&amp;nbsp; I'm sure there's a way to do this with Arcade but I've been struggling with that.&amp;nbsp; The syntax to copy/paste into the Expression box of the Label Class pane is:&lt;/P&gt;&lt;P&gt;Dim counter&lt;BR /&gt;counter = 0&lt;/P&gt;&lt;P&gt;Function FindLabel ([Label])&lt;BR /&gt;If Left([Label], 3) = "BFO" Then&lt;BR /&gt;counter = counter + 1&lt;BR /&gt;If counter Mod 2 = 1 Then&lt;BR /&gt;FindLabel = "&amp;lt;SUP&amp;gt;" &amp;amp; [Label] &amp;amp; "&amp;lt;/SUP&amp;gt;"&lt;BR /&gt;Else&lt;BR /&gt;FindLabel = "&amp;lt;SUB&amp;gt;" &amp;amp; [Label] &amp;amp; "&amp;lt;/SUB&amp;gt;"&lt;BR /&gt;End If&lt;BR /&gt;Else&lt;BR /&gt;FindLabel = [Label] ' If it doesn't start with "BFO", return the original label&lt;BR /&gt;End If&lt;BR /&gt;End Function&lt;BR /&gt;&lt;BR /&gt;The result can be seen below.&amp;nbsp; One thing I had to change to make it work properly was on the Position tab in the Label Class pane, set the Label Buffer to 0%.&amp;nbsp; Then it stacks properly.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StackedLabels.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137795i83D2D41E0108560B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StackedLabels.JPG" alt="StackedLabels.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Aug 2025 17:40:14 GMT</pubDate>
    <dc:creator>Robert_LeClair</dc:creator>
    <dc:date>2025-08-04T17:40:14Z</dc:date>
    <item>
      <title>Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638519#M97772</link>
      <description>&lt;P&gt;Is there a way to display labels in the same label class but different features as stacked? I have two polylines with identical geometry but have different values. Is there a way to display their labels as a stack instead of side by side?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 19:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638519#M97772</guid>
      <dc:creator>MasonFord</dc:creator>
      <dc:date>2025-08-01T19:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638526#M97773</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/926352"&gt;@MasonFord&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm curious if stacking separators should do this for you?&lt;/P&gt;&lt;P&gt;Here is a post that shows someone following a challenge to recreate symbology, but it shows similar to what you're asking I believe:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/a-complicated-labeling-challenge-multiple-values/m-p/1474242#M83417" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/a-complicated-labeling-challenge-multiple-values/m-p/1474242#M83417&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 19:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638526#M97773</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-08-01T19:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638531#M97774</link>
      <description>&lt;P&gt;I read through this post before creating this one. I tried using the stacking separators and it did stack each label individually but the two labels were still side by side. If I could upload a picture it would be easier to explain but I don't see an option for that.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 19:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638531#M97774</guid>
      <dc:creator>MasonFord</dc:creator>
      <dc:date>2025-08-01T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638534#M97776</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/926352"&gt;@MasonFord&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may be able to just paste it in here, or possibly upload to imgur or another image exchange if that works!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 19:49:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638534#M97776</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-08-01T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638545#M97778</link>
      <description>&lt;P&gt;I was able to post it to ArcGIS Online and share it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://vps.maps.arcgis.com/sharing/rest/content/items/b0f156276d2a4dd1ad49b9e58a5686f7/data" target="_blank" rel="noopener"&gt;https://vps.maps.arcgis.com/sharing/rest/content/items/b0f156276d2a4dd1ad49b9e58a5686f7/data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I have two polylines in the same feature class with identical geometry. Both labels are part of the same label class.&amp;nbsp;&lt;SPAN&gt;They both have different names (BFO 48RI &amp;amp; BFO 288RI). The labels are displayed side by side and I would like them stacked one on top of the other.&amp;nbsp; When I try to use stacking separators I end up with the BFO above the numbers but they are still side by side.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 20:21:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638545#M97778</guid>
      <dc:creator>MasonFord</dc:creator>
      <dc:date>2025-08-01T20:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638897#M97819</link>
      <description>&lt;P&gt;So I found a way to do this using old school VBScript!&amp;nbsp; I'm sure there's a way to do this with Arcade but I've been struggling with that.&amp;nbsp; The syntax to copy/paste into the Expression box of the Label Class pane is:&lt;/P&gt;&lt;P&gt;Dim counter&lt;BR /&gt;counter = 0&lt;/P&gt;&lt;P&gt;Function FindLabel ([Label])&lt;BR /&gt;If Left([Label], 3) = "BFO" Then&lt;BR /&gt;counter = counter + 1&lt;BR /&gt;If counter Mod 2 = 1 Then&lt;BR /&gt;FindLabel = "&amp;lt;SUP&amp;gt;" &amp;amp; [Label] &amp;amp; "&amp;lt;/SUP&amp;gt;"&lt;BR /&gt;Else&lt;BR /&gt;FindLabel = "&amp;lt;SUB&amp;gt;" &amp;amp; [Label] &amp;amp; "&amp;lt;/SUB&amp;gt;"&lt;BR /&gt;End If&lt;BR /&gt;Else&lt;BR /&gt;FindLabel = [Label] ' If it doesn't start with "BFO", return the original label&lt;BR /&gt;End If&lt;BR /&gt;End Function&lt;BR /&gt;&lt;BR /&gt;The result can be seen below.&amp;nbsp; One thing I had to change to make it work properly was on the Position tab in the Label Class pane, set the Label Buffer to 0%.&amp;nbsp; Then it stacks properly.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StackedLabels.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137795i83D2D41E0108560B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StackedLabels.JPG" alt="StackedLabels.JPG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 17:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1638897#M97819</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-08-04T17:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Stacking Labels of Multiple Features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1646862#M98633</link>
      <description>&lt;P&gt;Allowing the line labels to be placed above or below the line could help with situations where there are only 2 overlapping features. Set the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/offset-line-labels.htm#GUID-7E47E9AB-A30F-4FA5-A593-3C8458FC7CB7" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Constrain offset&lt;/STRONG&gt; parameter&lt;/A&gt; to &lt;EM&gt;No constraint&lt;/EM&gt; to allow this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_0-1756481655454.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/139651i8D742B0DFAEBDE3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_0-1756481655454.png" alt="JesseWickizer_0-1756481655454.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result can look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JesseWickizer_1-1756481796910.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/139652iFCF2FCAB36E9F10D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JesseWickizer_1-1756481796910.png" alt="JesseWickizer_1-1756481796910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Keep in mind other labels and weighted features on the map will influence label positions so the labels aren't guaranteed to align nicely like this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 15:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/stacking-labels-of-multiple-features/m-p/1646862#M98633</guid>
      <dc:creator>JesseWickizer</dc:creator>
      <dc:date>2025-08-29T15:40:20Z</dc:date>
    </item>
  </channel>
</rss>

