<?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: What does the weighted cluster really do? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/what-does-the-weighted-cluster-really-do/m-p/656700#M14685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is some explanation on Clustering:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Clustering of Point features is done client side.(Other geometry types are not supported.)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;When you set clustering on FeatureLayer or Graphics Layer, Map is divided into invisible grid.Features contained&amp;nbsp; in a cell of this invisible grid are grouped together to form a ClusterGraphic.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The position of ClusterGraphic within this cell is determined by type of cluster.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. In case of Grid cluster, the ClusterGraphic is placed at the center of the cell. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.For Weighted cluster, the cluster is placed at weighted center within cell&amp;nbsp; By default the weighted center is computed based on density/concentration of the points within&amp;nbsp; that cell) You can also provide your own funtion to compute weighted center for the cluster which could be based on other attributes of the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. The ClusterGraphic is rendered/displayed on the map by cluster symbols&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, CellSymbol - draws rounded rectangle with graphics contained in that ClusterGraphic. These are generally associated with grid clusterer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b.&amp;nbsp; SimpleClusterSymbol default symbol for clusters draws circle with graphic count &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b. FlareSymbol - These draw circel with graphic count and flares out on mouse hover and shows actual symbol of the original graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To control the size of the invisible grid's cell use sizeInPixel property (inherited) of the GridClusterer or WeightedClusterer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/WeightedClusterer.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/WeightedClusterer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mehul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 21:22:07 GMT</pubDate>
    <dc:creator>MehulChoksey</dc:creator>
    <dc:date>2012-06-15T21:22:07Z</dc:date>
    <item>
      <title>What does the weighted cluster really do?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/what-does-the-weighted-cluster-really-do/m-p/656699#M14684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a project that uses clustering and I find the documentation very sparse.&amp;nbsp; I have a sample that draws OK, but there are very few clusters and they have quite a few points in them.&amp;nbsp; What parameters do I need to set to have the clusters be more spread out with fewer points in them.&amp;nbsp; This map covers the whole state and tehre is plenty of space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:FlareSymbol id="flareSymbol"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flareMaxCount="30"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flareSizeIncOnRollOver="2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sizes="[20,30]"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textFormat="{tf}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; weights="[30,60]"/&amp;gt;
&amp;nbsp; &amp;lt;esri:WeightedClusterer id="clusterer" symbol="{flareSymbol}"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:center&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--
&amp;nbsp;&amp;nbsp;&amp;nbsp; x/y values are from the below extent x/y min/max values, these are the center of the extent.
&amp;nbsp;&amp;nbsp;&amp;nbsp; To make sure that you have the same clusters every time and independently of the map size and extent, these values have to set explicity,
&amp;nbsp;&amp;nbsp;&amp;nbsp; or you can let the cluster pick the map center at runtime.
&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="{(-14477000-6677000)*0.5}" y="{(2273000+8399000)*0.5}"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:center&amp;gt;
&amp;nbsp; &amp;lt;/esri:WeightedClusterer&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is from an online sample and I'm pretty sure I need to change the mapPoint to fall in the middle of the state.&amp;nbsp; Does someone have some links a little more detailed explanation on using clustering?&amp;nbsp; It looks really interesting; I can't believe I haven't found more when I've searched on the forums.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 18:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/what-does-the-weighted-cluster-really-do/m-p/656699#M14684</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-06-15T18:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: What does the weighted cluster really do?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/what-does-the-weighted-cluster-really-do/m-p/656700#M14685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is some explanation on Clustering:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Clustering of Point features is done client side.(Other geometry types are not supported.)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;When you set clustering on FeatureLayer or Graphics Layer, Map is divided into invisible grid.Features contained&amp;nbsp; in a cell of this invisible grid are grouped together to form a ClusterGraphic.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The position of ClusterGraphic within this cell is determined by type of cluster.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. In case of Grid cluster, the ClusterGraphic is placed at the center of the cell. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.For Weighted cluster, the cluster is placed at weighted center within cell&amp;nbsp; By default the weighted center is computed based on density/concentration of the points within&amp;nbsp; that cell) You can also provide your own funtion to compute weighted center for the cluster which could be based on other attributes of the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. The ClusterGraphic is rendered/displayed on the map by cluster symbols&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a, CellSymbol - draws rounded rectangle with graphics contained in that ClusterGraphic. These are generally associated with grid clusterer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b.&amp;nbsp; SimpleClusterSymbol default symbol for clusters draws circle with graphic count &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b. FlareSymbol - These draw circel with graphic count and flares out on mouse hover and shows actual symbol of the original graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To control the size of the invisible grid's cell use sizeInPixel property (inherited) of the GridClusterer or WeightedClusterer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/WeightedClusterer.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/clusterers/WeightedClusterer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mehul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 21:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/what-does-the-weighted-cluster-really-do/m-p/656700#M14685</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2012-06-15T21:22:07Z</dc:date>
    </item>
  </channel>
</rss>

