<?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 Label expressions not honoured for polygon and polyline features in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/label-expressions-not-honoured-for-polygon-and/m-p/1269729#M66934</link>
    <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I’ve noticed that spaces in label expressions are not being honoured for polygon and polyline features in ArcGIS Pro.&lt;BR /&gt;&lt;BR /&gt;In the arcade label expression builder, I’m using spaces to add a small background colour buffer on either side of the label – refer to line 4. I use this technique extensively in my work, across ArcGIS Pro versions 2.6 through to my current install of 3.1.0.&lt;/P&gt;&lt;P&gt;The spaces work on point features, as you can see below.&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="acarmody_0-1679365710098.png" style="width: 548px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65767i857BF8A1E5564ABB/image-dimensions/548x530?v=v2" width="548" height="530" role="button" title="acarmody_0-1679365710098.png" alt="acarmody_0-1679365710098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Feature.Id&lt;/STRONG&gt;&lt;/EM&gt; is a text field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;ACP&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;BOL&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;CLR red='0' green='0' blue='0' alpha='100'&amp;gt;&amp;lt;BGD red='255' green='3' blue='1' alpha='100'&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+" "+$feature.Id+" "+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;/BGD&amp;gt;&amp;lt;/CLR&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;/BOL&amp;gt;"+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;/ACP&amp;gt;"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The same expression has been applied to a polygon and polyline layer; you can see the spaces are not honoured.&lt;/P&gt;&lt;P&gt;I’ve also noticed that in polygon and line features, leading and trailing spaces in the attributes of the labelling field are not honoured either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acarmody_1-1679365751081.png" style="width: 541px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65769i6181B1C578824C78/image-dimensions/541x425?v=v2" width="541" height="425" role="button" title="acarmody_1-1679365751081.png" alt="acarmody_1-1679365751081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Polygons above, polylines below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acarmody_2-1679365760778.png" style="width: 543px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65770iEDB4B6F7A1BBC7AD/image-dimensions/543x519?v=v2" width="543" height="519" role="button" title="acarmody_2-1679365760778.png" alt="acarmody_2-1679365760778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is a different expression required to label a polygon or line features in the way?&lt;/P&gt;&lt;P&gt;Are the capabilities of label expressions different between the 3 feature types: points, polygons, and polylines?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help on getting this to work is very much appreciated.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 02:37:20 GMT</pubDate>
    <dc:creator>acarmody</dc:creator>
    <dc:date>2023-03-21T02:37:20Z</dc:date>
    <item>
      <title>Label expressions not honoured for polygon and polyline features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/label-expressions-not-honoured-for-polygon-and/m-p/1269729#M66934</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I’ve noticed that spaces in label expressions are not being honoured for polygon and polyline features in ArcGIS Pro.&lt;BR /&gt;&lt;BR /&gt;In the arcade label expression builder, I’m using spaces to add a small background colour buffer on either side of the label – refer to line 4. I use this technique extensively in my work, across ArcGIS Pro versions 2.6 through to my current install of 3.1.0.&lt;/P&gt;&lt;P&gt;The spaces work on point features, as you can see below.&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="acarmody_0-1679365710098.png" style="width: 548px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65767i857BF8A1E5564ABB/image-dimensions/548x530?v=v2" width="548" height="530" role="button" title="acarmody_0-1679365710098.png" alt="acarmody_0-1679365710098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Feature.Id&lt;/STRONG&gt;&lt;/EM&gt; is a text field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;ACP&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;BOL&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;CLR red='0' green='0' blue='0' alpha='100'&amp;gt;&amp;lt;BGD red='255' green='3' blue='1' alpha='100'&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+" "+$feature.Id+" "+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;/BGD&amp;gt;&amp;lt;/CLR&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;+"&amp;lt;/BOL&amp;gt;"+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"&amp;lt;/ACP&amp;gt;"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The same expression has been applied to a polygon and polyline layer; you can see the spaces are not honoured.&lt;/P&gt;&lt;P&gt;I’ve also noticed that in polygon and line features, leading and trailing spaces in the attributes of the labelling field are not honoured either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acarmody_1-1679365751081.png" style="width: 541px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65769i6181B1C578824C78/image-dimensions/541x425?v=v2" width="541" height="425" role="button" title="acarmody_1-1679365751081.png" alt="acarmody_1-1679365751081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Polygons above, polylines below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acarmody_2-1679365760778.png" style="width: 543px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65770iEDB4B6F7A1BBC7AD/image-dimensions/543x519?v=v2" width="543" height="519" role="button" title="acarmody_2-1679365760778.png" alt="acarmody_2-1679365760778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is a different expression required to label a polygon or line features in the way?&lt;/P&gt;&lt;P&gt;Are the capabilities of label expressions different between the 3 feature types: points, polygons, and polylines?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help on getting this to work is very much appreciated.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 02:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/label-expressions-not-honoured-for-polygon-and/m-p/1269729#M66934</guid>
      <dc:creator>acarmody</dc:creator>
      <dc:date>2023-03-21T02:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Label expressions not honoured for polygon and polyline features</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/label-expressions-not-honoured-for-polygon-and/m-p/1269831#M66952</link>
      <description>&lt;P&gt;In the polygon and polyline examples, you haven't unchecked the "Remove extra spaces" option&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:08:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/label-expressions-not-honoured-for-polygon-and/m-p/1269831#M66952</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2023-03-21T14:08:50Z</dc:date>
    </item>
  </channel>
</rss>

