| |
|
| org.geotools.coverage.processing.Operation2D org.geotools.coverage.processing.operation.Resample
Resample | public class Resample extends Operation2D (Code) | | Resample a grid coverage using a different grid geometry. This operation provides the following
functionality:
- Resampling
The grid coverage can be resampled at a different cell resolution. Some implementations
may be able to do resampling efficiently at any resolution. Also a non-rectilinear grid
coverage can be accessed as rectilinear grid coverage with this operation.
- Reprojecting
The new grid geometry can have a different coordinate reference system than the underlying
grid geometry. For example, a grid coverage can be reprojected from a geodetic coordinate
reference system to Universal Transverse Mercator CRS.
- Subsetting
A subset of a grid can be viewed as a separate coverage by using this operation with a
grid geometry which as the same geoferencing and a region. Grid range in the grid geometry
defines the region to subset in the grid coverage.
Geotools extension:
The
"Resample" operation use the default
org.opengis.referencing.operation.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
org.geotools.factory.Hints.COORDINATE_OPERATION_FACTORY key. Rendering
hints can be supplied to
org.geotools.coverage.processing.DefaultProcessor at construction time.
Name: "Resample"
JAI operator: "
"
or "
"
Parameters:
since: 2.2 version: $Id: Resample.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux See Also: org.geotools.coverage.processing.Operations.resample See Also: WarpDescriptor |
Field Summary | |
final public static ParameterDescriptor | COORDINATE_REFERENCE_SYSTEM The parameter descriptor for the coordinate reference system. | final public static ParameterDescriptor | GRID_GEOMETRY The parameter descriptor for the grid geometry. | final public static ParameterDescriptor | INTERPOLATION_TYPE The parameter descriptor for the interpolation type. |
Constructor Summary | |
public | Resample() Constructs a
"Resample" operation. |
Method Summary | |
public Coverage | doOperation(ParameterValueGroup parameters, Hints hints) Resample a grid coverage. |
COORDINATE_REFERENCE_SYSTEM | final public static ParameterDescriptor COORDINATE_REFERENCE_SYSTEM(Code) | | The parameter descriptor for the coordinate reference system.
|
GRID_GEOMETRY | final public static ParameterDescriptor GRID_GEOMETRY(Code) | | The parameter descriptor for the grid geometry.
|
INTERPOLATION_TYPE | final public static ParameterDescriptor INTERPOLATION_TYPE(Code) | | The parameter descriptor for the interpolation type.
|
Resample | public Resample()(Code) | | Constructs a
"Resample" operation.
|
Fields inherited from org.geotools.coverage.processing.Operation2D | final protected static int PRIMARY_SOURCE_INDEX(Code)(Java Doc) final public static ParameterDescriptor SOURCE_0(Code)(Java Doc)
|
|
|
|