Package org.geotools.filter.function
Interface RenderingTransformation
-
- All Superinterfaces:
Expression
,Function
- All Known Subinterfaces:
CoverageReadingTransformation
- All Known Implementing Classes:
FootprintsTransformation
public interface RenderingTransformation extends Function
An interface to be implemented by processes or by filter functions meant to be integrated as feature collection/grid coverage transformations in a rendering chain.These functions are meant to take one layer (raster or vector) and apply transformations on top of it
The method provide information about how the data is altered so that the renderer can query the appropriate part of the input data that will feed the process/function
- Author:
- Andrea Aime - GeoSolutions
-
-
Field Summary
-
Fields inherited from interface Expression
NIL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GeneralParameterValue[]
customizeReadParams(GridCoverageReader reader, GeneralParameterValue... params)
Allows the transformation to customize the readGridGeometry
invertGridGeometry(Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the grid geometry to be used to read the input data of the function involved in rendering.Query
invertQuery(Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the function This method will be called only if the input data is a feature collection.-
Methods inherited from interface Expression
accept, evaluate, evaluate
-
Methods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParameters
-
-
-
-
Method Detail
-
invertQuery
Query invertQuery(Query targetQuery, GridGeometry gridGeometry)
Given a target query and a target grid geometry returns the query to be used to read the input data of the function This method will be called only if the input data is a feature collection.- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-
invertGridGeometry
GridGeometry invertGridGeometry(Query targetQuery, GridGeometry targetGridGeometry)
Given a target query and a target grid geometry returns the grid geometry to be used to read the input data of the function involved in rendering. This method will be called only if the input data is a grid coverage or a grid coverage reader- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-
customizeReadParams
default GeneralParameterValue[] customizeReadParams(GridCoverageReader reader, GeneralParameterValue... params)
Allows the transformation to customize the read
-
-