| org.geotools.coverage.processing.Operation2D org.geotools.coverage.processing.operation.SelectSampleDimension
SelectSampleDimension | public class SelectSampleDimension extends Operation2D (Code) | | Chooses N
from a grid coverage and copies their sample data to the destination grid coverage in the order
specified. The
"SampleDimensions" parameter specifies the source
org.geotools.coverage.GridSampleDimension indices, and its size
(
SampleDimensions.length ) determines the number of sample dimensions of the destination
grid coverage. The destination coverage may have any number of sample dimensions, and a particular
sample dimension of the source coverage may be repeated in the destination coverage by specifying
it multiple times in the
"SampleDimensions" parameter.
Geotools extension:
This operation can also be used for selecting a different "visible sample dimension". Some
images may contain useful data in more than one sample dimension, but renderer the content
using only 1 sample dimension at time. The
"VisibleSampleDimension" parameter can be
used for selecting this sample dimension. If ommited, then the new grid coverage will inherit
its source's visible sample dimension.
Name: "SelectSampleDimension"
JAI operator: "
"
Parameters:
since: 2.2 version: $Id: SelectSampleDimension.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux See Also: org.geotools.coverage.processing.Operations.selectSampleDimension See Also: BandSelectDescriptor |
Field Summary | |
final public static ParameterDescriptor | SAMPLE_DIMENSIONS The parameter descriptor for the sample dimension indices. | final public static ParameterDescriptor | VISIBLE_SAMPLE_DIMENSION The parameter descriptor for the visible dimension indice. |
Constructor Summary | |
public | SelectSampleDimension() Constructs a default
"SelectSampleDimension" operation. |
Method Summary | |
public Coverage | doOperation(ParameterValueGroup parameters, Hints hints) Applies the band select operation to a grid coverage. |
SAMPLE_DIMENSIONS | final public static ParameterDescriptor SAMPLE_DIMENSIONS(Code) | | The parameter descriptor for the sample dimension indices.
|
VISIBLE_SAMPLE_DIMENSION | final public static ParameterDescriptor VISIBLE_SAMPLE_DIMENSION(Code) | | The parameter descriptor for the visible dimension indice.
This is a Geotools-specific parameter.
|
SelectSampleDimension | public SelectSampleDimension()(Code) | | Constructs a default
"SelectSampleDimension" operation.
|
doOperation | public Coverage doOperation(ParameterValueGroup parameters, Hints hints)(Code) | | Applies the band select operation to a grid coverage. This method is
invoked by
org.geotools.coverage.processing.DefaultProcessor for the
"SelectSampleDimension" operation.
Parameters: parameters - List of name value pairs for the parameters. Parameters: hints - A set of rendering hints, or null if none. The result as a grid coverage. |
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)
|
|
|