Hello,

I want to implement a dynamic SLD for a raster dataset which is uses a
PostGIS dataset.
The raster loads fine, however I am receiving the following error

line 16: cvc-datatype-valid.1.2.1: '${env('value',0.354)}' is not a valid
value for 'double'.
line 16: cvc-attribute.3: The value '${env('value',0.354)}' of attribute
'quantity' on element 'ColorMapEntry' is not valid with respect to its
type, 'double'.

This is the code that I am currently using, how should I specify this?

      <FeatureTypeStyle>
        <Rule>
          <RasterSymbolizer>
            <ColorMap>
               <ColorMapEntry color="#00CC00"
quantity="${env('value',0.354)}"/>

            </ColorMap>
          </RasterSymbolizer>
        </Rule>
      </FeatureTypeStyle


-- 
David Haynes, Ph.D.
Research Associate Terra Populus
Minnesota Population Center
www.terrapop.org
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to