I want to implement a rendering transformation using the NDVI index on grayscale tiff. I am following this link:- https://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html What type of data will work for it?
I tried the sld provided in the Geoserver manual, but that doesn't seem to work on my data, but on applying that style, it does not work
<NamedLayer>
<Name>cite:NDVI</Name>
<UserStyle>
<Title>NDVI</Title>
<FeatureTypeStyle>
<Transformation>
<ogc:Function name="ras:Jiffle">
<ogc:Function name="parameter">
<ogc:Literal>GRAY_INDEX</ogc:Literal>
</ogc:Function>
</ogc:Function>
</Transformation>
<Rule>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
<ColorMap>
<ColorMapEntry color="#0000ff" quantity="-0.17"/>
<ColorMapEntry color="#548022" quantity="0.07"/>
<ColorMapEntry color="#f6f7f5" quantity="0.4"/>
</ColorMap>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
I want my grayscale tiff to be transformed to NDVI band color mapping.