Mark,<div><br></div><div>I think LABEL level expressions would work in this case. Something like:</div><div><br></div><div><div>     LABEL</div><div>        TEXT ([Sum:itemname]/[Count:itemname])</div><div>        TYPE TRUETYPE</div>
<div>        ...</div><div>      END</div></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br><br><div class="gmail_quote">2013/3/22 Mark Davidson <span dir="ltr"><<a href="mailto:mark@4each.co.uk" target="_blank">mark@4each.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br><br>I'm new to using mapserver and have been implementing a WMS overlay using the CLUSTER funcionality got pretty much everything I need working, but I can't seem to get an average value of a cluster to use as part of the styling and labelling. <br>

I've tried everything I can think of to try and get it working but am having no luck. I thought that since you can do [Max:itemname] and [Count:itemname] I would be able to do an equation to work out the average, but I just get syntax errors with everything I try and haven't been able to find any examples of doing this.<br>

<br>Could anyone tell me if its possible to do this? And if so provide an example? <br><br>Any input would be very much appreciated,<br><br>Thanks,<br><br>Mark Davidson<br>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>