[Geoserver-users] Variable substitution not working if multiple layers are provided in WMS call

Hi,

For those who are reading this mails from the archives sometimes in the future, the same question was also asked in
http://gis.stackexchange.com/questions/197867/variable-substitution-not-working-if-multiple-layers-are-provided-in-wms-call

It is possible that it gets an answer in gis.stackexchange and no reaction on the mailing lists, or vice versa.

-Jukka Rahkonen-

hanshupe wrote:

Hello,

I use cql expressions to make my color map entries dynamic as described

here:
http://docs.geoserver.org/2.8.x/en/user/styling/sld-reference/rastersymbolizer.html#cql-expressions

It works basically, but as soon as I add an additional layer in my WMS call

(&layers=layer1,layer_raster) the parameters I pass in the URL
(&env=low:10;medium:100;...) are just ignored and the default values I defined with the cql expression are applied.

Does anyone know about this issue? I am using GeoServer 2.8.0.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Variable-substitution-not-working-if-multiple-layers-are-provided-in-WMS-call-tp5271011.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users