In Geoserver, a have a SLD style with a rule that looks like this
property value1 0 # 0.5 In the WMS request, i send an env parameter, specifing the property and the value1 parameters for dynamic sld substitution. The property parameter gets a value of an attribute name that exists on the layer I want to display the style with.
My solution won't work. I get an exception, saying:
I am using Geoserver 2.7.2
Btw. this works:
Einwohner value1 0
أكثر...
property value1 0 # 0.5 In the WMS request, i send an env parameter, specifing the property and the value1 parameters for dynamic sld substitution. The property parameter gets a value of an attribute name that exists on the layer I want to display the style with.
My solution won't work. I get an exception, saying:
The requested style cannot be used with this layer. The style specifies an attribute property and the layer is: ...
Is there a way to set the attribute name dynamically via sld substitution in Geoserver? And if yes, how can I achive that?
I am using Geoserver 2.7.2
Btw. this works:
Einwohner value1 0
أكثر...