[Mapserver-users] Reference map with more then one class

Roger Boily boily at bsw.org
Tue Mar 25 03:49:51 EST 2003


Hi to all,

I'm using a layer with many classes filtered by expression ('[field]' eq 
'value')
Now, since I have 30 filtered classes in this layer, I want to give the 
user the oportunity
to choose one or more (normally not more than 5) class (filtered by the 
given value).
It works well using the cgi command "map_layer_class_1_status=ON" (using the
good class indexed number) but my prob is that the legend image still 
display the 30 classes
legends. Is there a way to display in the legend only the actived 
filtered class?

Thanks in advance,
Roger






More information about the mapserver-users mailing list