Class Operation2D

All Implemented Interfaces:
Serializable, Operation
Direct Known Subclasses:
Crop, Interpolate, OperationJAI, Resample, SelectSampleDimension

public abstract class Operation2D extends AbstractOperation
An operation working on GridCoverage2D sources.
Since:
2.1
Author:
Martin Desruisseaux (IRD)
See Also:
  • Field Details

    • PRIMARY_SOURCE_INDEX

      protected static final int PRIMARY_SOURCE_INDEX
      Index of the source GridCoverage2D to use as a model. The destination grid coverage will reuse the same coordinate reference system, envelope and qualitative categories than this primary source.

      For operations expecting only one source, there is no ambiguity. But for operations expecting more than one source, the choice of a primary source is somewhat arbitrary. This constant is used merely as a flag for spotting those places in the code.

      Since:
      2.4
      See Also:
    • SOURCE_0

      public static final ParameterDescriptor<GridCoverage2D> SOURCE_0
      Convenience constant for the first source GridCoverage2D. The parameter name is "Source" (as specified in OGC implementation specification) and the alias is "source0" (for compatibility with Java Advanced Imaging).
  • Constructor Details

    • Operation2D

      public Operation2D(ParameterDescriptorGroup descriptor)
      Constructs an operation. The operation name will be the same than the parameter descriptor name.
      Parameters:
      descriptor - The parameters descriptor.
  • Method Details