<?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: Binning - basic configuration in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278897#M80886</link>
    <description>&lt;P&gt;Yes. You can use those values in your stops. You first have to initialize binning then query the bins before creating the stops for the renderer. You can do this on your own using the summaryStatistics method, or you can use the smart mapping renderer creators to generate the stops for you based on the statistics.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's the same parameters, but instead of outputting stats, it outputs a renderer.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 18:21:05 GMT</pubDate>
    <dc:creator>KristianEkenes</dc:creator>
    <dc:date>2023-04-14T18:21:05Z</dc:date>
    <item>
      <title>Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278155#M80855</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I was working on the following example while adding some additional features:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-binning/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-binning/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My question: Is there a way to retrieve via the API the minimum and maximum of all the aggregations found on the map?&lt;/P&gt;&lt;P&gt;Thank you in advance for your answer.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Apr 2023 08:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278155#M80855</guid>
      <dc:creator>GIS_test</dc:creator>
      <dc:date>2023-04-13T08:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278469#M80865</link>
      <description>&lt;P&gt;Yes. You can do this with the smartMapping statistic functions. In this case you need &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-summaryStatistics.html#summaryStatistics" target="_self"&gt;summaryStatistics&lt;/A&gt;. You can also get a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html" target="_self"&gt;histogram&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-uniqueValues.html" target="_self"&gt;unique values with count&lt;/A&gt; if needed. You just need to be sure to set the &lt;STRONG&gt;forBinning&lt;/STRONG&gt; parameter to true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const stats = await summaryStatistics({
  layer,
  view,
  field: "aggregateCount",
  forBinning: true
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a codepen that demonstrates how to do it for the basic configuration sample you posted:&amp;nbsp;&lt;A href="https://codepen.io/kekenes/pen/bGmEvWj?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/kekenes/pen/bGmEvWj?editors=1000&lt;/A&gt;&amp;nbsp;Let me know if you run into issues.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 18:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278469#M80865</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2023-04-13T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278761#M80879</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt;&amp;nbsp;Thank you Kristian, it works, I am able to retrieve these values. However, the initial idea was to be able to put them in the Stops as values.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 13:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278761#M80879</guid>
      <dc:creator>GIS_test</dc:creator>
      <dc:date>2023-04-14T13:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278897#M80886</link>
      <description>&lt;P&gt;Yes. You can use those values in your stops. You first have to initialize binning then query the bins before creating the stops for the renderer. You can do this on your own using the summaryStatistics method, or you can use the smart mapping renderer creators to generate the stops for you based on the statistics.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's the same parameters, but instead of outputting stats, it outputs a renderer.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 18:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1278897#M80886</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2023-04-14T18:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1279149#M80895</link>
      <description>&lt;P&gt;It worked well. Thank you Kristian.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 07:29:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1279149#M80895</guid>
      <dc:creator>GIS_test</dc:creator>
      <dc:date>2023-04-17T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Binning - basic configuration</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1279946#M80913</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt;&amp;nbsp; Can we apply the function that allows us to browse the entities, which is present in the following example :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/visualization/high-density-data/aggregation/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/visualization/high-density-data/aggregation/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried, but the issue is that the number of aggregations is not consistent with what can be browsed in the POPUP.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 22:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/binning-basic-configuration/m-p/1279946#M80913</guid>
      <dc:creator>GIS_test</dc:creator>
      <dc:date>2023-04-18T22:00:03Z</dc:date>
    </item>
  </channel>
</rss>

