<?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: python label expression to determine label minThreshold in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/python-label-expression-to-determine-label/m-p/1383441#M78975</link>
    <description>&lt;P&gt;&lt;STRONG&gt;workaround&lt;/STRONG&gt;: I created a separate label class and adjusted the labels out beyond value to 1:35,000 for features that meet the condition below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def FindLabel ( [UNIT_NAME], [Shape__Area] ):
    if float([Shape__Area]) &amp;lt;= 228202:
      return [UNIT_NAME]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I'm still interested to know if you can adjust label min/maxThresholds from a label expression!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2024 20:08:27 GMT</pubDate>
    <dc:creator>cweirpatrickco</dc:creator>
    <dc:date>2024-02-16T20:08:27Z</dc:date>
    <item>
      <title>python label expression to determine label minThreshold</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-label-expression-to-determine-label/m-p/1383036#M78878</link>
      <description>&lt;P&gt;I'm looking to create a python label expression that sets the labels minimum threshold (out beyond) value according to the [Shape__Area] field value.&lt;BR /&gt;&lt;BR /&gt;So far I have this (which works):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def FindLabel ( [UNIT_NAME], [Shape__Area] ):
  if float([Shape__Area]) &amp;gt;= 228202:
    return [UNIT_NAME]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;This currently leaves out all labels for features that don't meet the condition. I'd like to still include those features but just have their labels appear at a different out beyond value...&lt;BR /&gt;&lt;BR /&gt;So, something along the lines of:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def FindLabel ( [UNIT_NAME], [Shape__Area] ):
  if float([Shape__Area]) &amp;gt;= 228202:
      set.minThreshold()
    return [UNIT_NAME]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 14:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-label-expression-to-determine-label/m-p/1383036#M78878</guid>
      <dc:creator>cweirpatrickco</dc:creator>
      <dc:date>2024-02-16T14:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: python label expression to determine label minThreshold</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/python-label-expression-to-determine-label/m-p/1383441#M78975</link>
      <description>&lt;P&gt;&lt;STRONG&gt;workaround&lt;/STRONG&gt;: I created a separate label class and adjusted the labels out beyond value to 1:35,000 for features that meet the condition below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def FindLabel ( [UNIT_NAME], [Shape__Area] ):
    if float([Shape__Area]) &amp;lt;= 228202:
      return [UNIT_NAME]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I'm still interested to know if you can adjust label min/maxThresholds from a label expression!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 20:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/python-label-expression-to-determine-label/m-p/1383441#M78975</guid>
      <dc:creator>cweirpatrickco</dc:creator>
      <dc:date>2024-02-16T20:08:27Z</dc:date>
    </item>
  </channel>
</rss>

