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
functionNameFields 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, toStringMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
accept, evaluateMethods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParametersMethods inherited from interface RenderingTransformation
clipOnRenderingArea, customizeReadParams
-
Field Details
-
NAME
-
-
Constructor Details
-
FootprintsTransformation
public FootprintsTransformation()
-
-
Method Details
-
evaluate
Description copied from class:FunctionImplDefault implementation simply returns the fallbackValue.Please override this method to produce a value based on the provided arguments.
- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionImpl- Parameters:
object- Object being evaluated; often a Feature- Returns:
- value for the provided object
-
invertQuery
Description copied from interface:RenderingTransformationGiven 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:
invertQueryin interfaceRenderingTransformation- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-
invertGridGeometry
Description copied from interface:RenderingTransformationGiven 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:
invertGridGeometryin interfaceRenderingTransformation- Returns:
- The transformed query, or null if no inversion is possible/meaningful
-