Package org.apache.sis.coverage.grid
package org.apache.sis.coverage.grid
A coverage backed by a regular grid.
In the twodimensional case, the grid coverage is an image and the cells are pixels.
In the threedimensional case, the cells are voxels.
GridCoverage2D
is a twodimensional slice in a ndimensional cube of data.
Despite its name, GridCoverage2D
instances can be associated to ndimensional
envelopes providing that only two dimensions have a
grid span
greater than 1.
GridCoverageBuilder
is a convenience class
making easier to create a grid coverage for some common cases.
Accurate definition of georeferencing information
While it is possible to create a grid coverage from a geodetic envelope, this approach should be used in last resort only. Instead, always specify the grid to CRS affine transform. This is preferable because envelopes have ambiguities (do we need to swap the longitude and latitude axes? Do we need to flip the y axis?). On the other hand, the grid to CRS affine transform is fully determinist. Since:
 1.0
Defined in the sisfeature
module

ClassDescriptionBasic access to grid data values backed by a ndimensional
DataBuffer
.Thrown when operations on aGridGeometry
result in an area which does not intersect anymore theGridExtent
of theGridGeometry
.Method for replacing a nonlinear "grid to CRS" conversion by a linear conversion (affine transform).Grid coordinates which may have fraction digits after the integer part.Specifies clipping behavior during computations ofGridExtent
.Base class of coverages with domains defined as a set of grid points.Basic access to grid data values backed by a twodimensionalRenderedImage
.Helper class for the creation ofGridCoverage
instances.A predefined set of operations on grid coverages as convenience methods.Creates a new grid geometry derived from a base grid geometry with different extent or resolution.Computes or interpolates values of sample dimensions at given positions.A range of grid coverage coordinates, also known as "grid envelope".Valid extent of grid coordinates together with the transform from those grid coordinates to real world coordinates.Highlevel description about how a grid is orientated relative to the CRS axes.Specifies rounding behavior during computations ofGridExtent
from floatingpoint values.Thrown when the argument specified to a method or constructor would result in an invalidGridGeometry
.A builder for the rendered image to be returned byGridCoverage.render(GridExtent)
.Thrown byGridGeometry
when a grid geometry can not provide the requested information.The translation to apply for different values ofPixelOrientation
orPixelInCell
.