Hi all,<br><br>I have a quick query regarding labels on cluster items and how these can be customized based on the attributes returned.<br><br>Currently I have clustering functioning where the label of the cluster is the feature count, that&#39;s fine. I now want to change that label to be a sum of attributes for all each features in that cluster. I have a &quot;total_si&quot; number value being selected from my datasource, I want the cluster label to be the sum of total_si for all features in a cluster.<br>
<br>I have looked into the GROUP and FILTER options but they do not seem to fit the bill for what I want to achieve. Can anybody point me in the right direction?<br><br>Please see my mapfile snippit below. Much appreciated.<br>
<br>Regards,<br><br>Conor.<br><br>  LAYER<br>    NAME cluster_by_tsi<br>    TYPE POINT<br>    CLUSTER<br>        BUFFER 30<br>        MAXDISTANCE 60<br>        REGION &quot;ellipse&quot;<br>    END<br><br>    DUMP true<br>
    STATUS ON<br>    CONNECTION &#39;XXXXXXXXXXXXXXXXX&#39;<br>    CONNECTIONTYPE oraclespatial<br>    DATA &quot;GEOM FROM (select geom,total_si from EXPOSURE_DEMO WHERE CLIENT_ID = &#39;%client%&#39; and TYPE = &#39;QUOTE&#39;) USING SRID 4326&quot;<br>
    PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>    PROJECTION<br>      &quot;init=epsg:4326&quot;<br>    END<br><br>    METADATA<br>      &#39;client_validation_pattern&#39; &#39;^[a-zA-Z0-9_]*$&#39;<br>      &#39;default_client&#39; &#39;DEMO&#39;<br>
    END<br><br>    LABELITEM &quot;Cluster:FeatureCount&quot; &gt;&gt; I want this to be sum of total_si for each cluster<br>    CLASSITEM &quot;Cluster:FeatureCount&quot;<br>    SIZEUNITS pixels<br>...<br>...<br>

<pre>-end-
This email and its content/attachments are covered by Mapflow's email disclaimer, please see www.mapflow.com/disclaimer