[Mapserver-users] Reference map with more then one class
Roger Boily
boily at bsw.org
Tue Mar 25 10:28:38 PST 2003
Hi ,
looking forward in this problem, I found that if the class'name is not set,
class won't show up in legend. That's ok. So, I eliminated the class'name
in the map file and I tried to set a name to the
class with this cgi command:
&map_layer_class_1_status=ON&map_layer_class_1_name=class1
But it does not work. Is anybody has an idea with wath I'm doing wrong?
Thanks, Roger
Roger Boily wrote:
> 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
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list