Hi,

I'm currently trying to issue WMS GetMap request that include serveral 
layers. The idea is to aggregate on a single image several search 
results. Thus, every layer will receive different CSL filters. For 
example, I can easily aggregate results for two species using:

...
&LAYERS=ifbl:species_search,ifbl:species_search
&CQL_FILTER=species_id=7;species_id=8

So far, everythings works fine. But I'd also like to use variable 
substitution in SLD to dynamically specify a different color for each 
resultset/layer. That would mean to specify multiple time (one per 
layer) the same "env" value.So far, I was not able to do this. I tried:

&ENV=color:FF0000;color:00FF00  -> The first value is ignored, like if 
it was overwritten
&ENV=color:FF0000;0000FF -> The second value is ignored
&ENV=color:FF0000,0000FF -> No results appear (color ignored because 
considered as invalid ?)
&ENV=color:FF0000,color:00FF00 -> Triggered an error ( Could not parse 
CQL filter list. Encountered "color" at line 1)

Is it the normal behavior ? Is there a way to achieve what I want ? I'm 
using 2.1.3.

Thanks a lot,

Nicolas





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to