<?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: Symbolize by mean (Arcade) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215581#M9489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Options are rather limited in the symbology profile with Arcade in order&amp;nbsp;no to affect the performance in drawing the layer.&amp;nbsp;Options like $map, $layer and FeatureSetBy* functions are not available. If the data is static you can perform a field calculation using Arcade to calulate the mean. However, if the data is dynamic&amp;nbsp;this might not be your best option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2019 19:46:54 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2019-06-25T19:46:54Z</dc:date>
    <item>
      <title>Symbolize by mean (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215580#M9488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/message/860558-mean-for-all-features-not-just-one-arcade"&gt;https://community.esri.com/message/860558-mean-for-all-features-not-just-one-arcade&lt;/A&gt;&amp;nbsp;I was able to figure out how to set up a pop up to display the mean() of all the features in a given feature layer.&amp;nbsp; However, now I'm faced with the same requirement but for symbology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the earlier post, I have the same polygon feature class of zipcodes, that represent monthly deliveries; for a given zipcode, there are twelve polygon features 'stacked' on top of each other, the result of monthly geoprocessing and appended to the zipcode polygon feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451447_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 18:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215580#M9488</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-25T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolize by mean (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215581#M9489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Options are rather limited in the symbology profile with Arcade in order&amp;nbsp;no to affect the performance in drawing the layer.&amp;nbsp;Options like $map, $layer and FeatureSetBy* functions are not available. If the data is static you can perform a field calculation using Arcade to calulate the mean. However, if the data is dynamic&amp;nbsp;this might not be your best option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 19:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215581#M9489</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-06-25T19:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolize by mean (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215582#M9490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't sure of why, but some where in the help docs, it alludes to those as not being available.&amp;nbsp; I have a mix of static and dynamic data: the 2018 data is static while the 2019 data will be dynamic till January 2020, and so on....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 20:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215582#M9490</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-25T20:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolize by mean (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215583#M9491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the field calculation could be something like this (for the static data or you would have to repeat the calculation each month as new data comes in).&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; zipcode &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;zipcode&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; sql &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"zipcode = '"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; zipcode &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"'"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; zipcode_layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$datastore&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Name of your zipcode layer in the datastore"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"zipcode"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DeliveryCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; False&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; zipcode_features &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Filter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;zipcode_layer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sql&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Average&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;zipcode_features&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DeliveryCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another reason of not doing this dynamically in the&amp;nbsp;symbology profile is the fact that it will draw 12 polygons (for 1 year) on top of each other and it will have to do the same calculation for each polygon, when only one&amp;nbsp;will be visible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215583#M9491</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T10:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolize by mean (Arcade)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215584#M9492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The monthly data gets processed via Python as a scheduled taks; I could add an actual field to the data structure in the python code and re-calc it as part of that process.&amp;nbsp; Just another couple lines of code, but lately I've had this thing about not adding fields per se....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 21:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/symbolize-by-mean-arcade/m-p/215584#M9492</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-25T21:29:21Z</dc:date>
    </item>
  </channel>
</rss>

