[mapserver-users] Cluster in mapserver

Ludovic Granjon ludovic.granjon at u-bourgogne.fr
Fri Aug 12 03:13:58 EDT 2011


Hello

I use mapserver with a cluster in a point layer.
I use Cluster:FeatureCount in the size parameter :

     CLASS
       NAME "test"
       STYLE
          COLOR 255 0 0
          SYMBOL 'circle'
          SIZE [Cluster:FeatureCount]
       END # Style
     END # Class

It work fine, but I have two problems :
First I'd like to have a size like [Cluster:FeatureCount]+10 or 
something like that, but it doesn't work, maybe I miss something. Do you 
know if it's possible ?
Second, I want to get back the legend, but in the legend I have only the 
minimum value of the cluster, is there a way to get back also the 
maximum value of the cluster ?

If it's better, I can use mapscript to do that.

Thanks all

Ludovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ludovic_granjon.vcf
Type: text/x-vcard
Size: 149 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110812/f7264910/ludovic_granjon.vcf


More information about the mapserver-users mailing list