Package org.geotools.gce.imagemosaic
Class FootprintsTransformation
Object
ExpressionAbstract
FunctionImpl
FootprintsTransformation
- All Implemented Interfaces:
Expression
,Function
,CoverageReadingTransformation
,RenderingTransformation
Transformation returning the same granules that the
StructuredGridCoverage2DReader
would have used as the
input for image creation in the GridCoverage2DReader.read(GeneralParameterValue[])
method (with some
exceptions, like footprints usage, as this transformation only sets up a filter against the associated
GranuleSource
).-
Nested Class Summary
Nested classes/interfaces inherited from interface CoverageReadingTransformation
CoverageReadingTransformation.ReaderAndParams
-
Field Summary
FieldsFields inherited from class FunctionImpl
functionName
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault implementation simply returns the fallbackValue.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.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 class FunctionImpl
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toString
Methods inherited from class ExpressionAbstract
evaluate
Methods inherited from interface Expression
accept, evaluate
Methods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParameters
Methods inherited from interface RenderingTransformation
clipOnRenderingArea, customizeReadParams
-
Field Details
-
NAME
-
-
Constructor Details
-
FootprintsTransformation
public FootprintsTransformation()
-
-
Method Details
-
evaluate
Description copied from class:FunctionImpl
Default implementation simply returns the fallbackValue.Please override this method to produce a value based on the provided arguments.
- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionImpl
- Parameters:
object
- Object being evaluated; often a Feature- Returns:
- value for the provided object
-
invertQuery
Description copied from interface:RenderingTransformation
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.- Specified by:
invertQuery
in interfaceRenderingTransformation
- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-
invertGridGeometry
Description copied from interface:RenderingTransformation
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- Specified by:
invertGridGeometry
in interfaceRenderingTransformation
- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-