|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.coverage.processing.AbstractOperation org.geotools.coverage.processing.Operation2D org.geotools.coverage.processing.operation.Resample
Resample a grid coverage using a different grid geometry. This operation provides the following functionality:
Geotools extension:
The operation use the default
CoordinateOperationFactory
for creating a
transformation from the source to the destination coordinate reference systems.
If a custom factory is desired, it may be supplied as a rendering hint with the
Hints.COORDINATE_OPERATION_FACTORY
key. Rendering
hints can be supplied to DefaultProcessor
at construction time.
Name: "Resample"
JAI operator: "Affine"
or "Warp"
Parameters:
Name | Class | Default value | Minimum value | Maximum value |
---|---|---|---|---|
GridCoverage2D |
N/A | N/A | N/A | |
CharSequence |
"NearestNieghbor" | N/A | N/A | |
CoordinateReferenceSystem |
Same as source grid coverage | N/A | N/A | |
GridGeometry2D |
(automatic) | N/A | N/A |
Operations.resample(org.opengis.coverage.Coverage, org.opengis.referencing.crs.CoordinateReferenceSystem)
,
WarpDescriptor
,
Serialized FormField Summary | |
static org.opengis.parameter.ParameterDescriptor |
COORDINATE_REFERENCE_SYSTEM
The parameter descriptor for the coordinate reference system. |
static org.opengis.parameter.ParameterDescriptor |
GRID_GEOMETRY
The parameter descriptor for the grid geometry. |
static org.opengis.parameter.ParameterDescriptor |
INTERPOLATION_TYPE
The parameter descriptor for the interpolation type. |
Fields inherited from class org.geotools.coverage.processing.Operation2D |
SOURCE_0 |
Fields inherited from class org.geotools.coverage.processing.AbstractOperation |
descriptor |
Constructor Summary | |
Resample()
Constructs a operation. |
Method Summary | |
protected org.opengis.coverage.Coverage |
doOperation(org.opengis.parameter.ParameterValueGroup parameters,
Hints hints)
Resample a grid coverage. |
Methods inherited from class org.geotools.coverage.processing.Operation2D |
getFactory, getGridCoverageProcessor |
Methods inherited from class org.geotools.coverage.processing.AbstractOperation |
ensureNonNull, equals, getDescription, getDocURL, getName, getNumSources, getParameters, getProcessor, getVendor, getVersion, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final org.opengis.parameter.ParameterDescriptor INTERPOLATION_TYPE
public static final org.opengis.parameter.ParameterDescriptor COORDINATE_REFERENCE_SYSTEM
public static final org.opengis.parameter.ParameterDescriptor GRID_GEOMETRY
Constructor Detail |
public Resample()
Method Detail |
protected org.opengis.coverage.Coverage doOperation(org.opengis.parameter.ParameterValueGroup parameters, Hints hints)
DefaultProcessor
for the operation.
doOperation
in class AbstractOperation
parameters
- List of name value pairs for the parameters required for the operation.hints
- A set of rendering hints, or if none. The
may provides hints for the following keys: Hints.COORDINATE_OPERATION_FACTORY
and Hints.JAI_INSTANCE
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |