Package org.apache.sis.coverage.grid
package org.apache.sis.coverage.grid
A coverage backed by a regular grid.
In the two-dimensional case, the grid coverage is an image and the cells are pixels.
In the three-dimensional case, the cells are voxels.
GridCoverage2D
is a two-dimensional slice in a n-dimensional cube of data.
Despite its name, GridCoverage2D
instances can be associated to n-dimensional
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
- Version:
- 1.3
-
ClassDescriptionBasic access to grid data values backed by a n-dimensional
DataBuffer
.Implementation of evaluator returned byBandedCoverage.evaluator()
.Decorates aGridCoverage
in order to convert sample values on the fly.Finds a transform from grid cells in a source coverage to geospatial positions in the CRS of a target coverage.Default implementation ofGridCoverage.Evaluator
for interpolating values at given positions.A grid coverage which is derived from a single source coverage, The default implementations of methods in this class assume that this derived coverage uses the same sample dimensions than the source coverage.An helper class for reducing the number of dimensions in a grid geometry, an envelope or a position.Thrown when operations on aGridGeometry
result in an area which does not intersect anymore theGridExtent
of theGridGeometry
.Method for replacing a non-linear "grid to CRS" conversion by a linear conversion (affine transform).An evaluator which delegates all operations to another evaluator.Grid coordinates which may have fraction digits after the integer part.A grid coordinates viewed as aDirectPosition
.Specifies clipping behavior during computations ofGridExtent
.A view over the low or high grid envelope coordinates.Base class of coverages with domains defined as a set of grid points.Interpolates values of sample dimensions at given positions.The processor to use in calls toGridCoverage.convert(RenderedImage, DataType, MathTransform1D[], ImageProcessor)
.Basic access to grid data values backed by a two-dimensionalRenderedImage
.Helper class for the creation ofGridCoverage
instances.A predefined set of operations on grid coverages as convenience methods.Types of changes that a coverage processor can do for executing an operation more efficiently.Creates a new grid geometry derived from a base grid geometry with different extent or resolution.A range of grid coverage coordinates, also known as "grid envelope".Builder for coordinate reference system which is derived from the coverage CRS by the inverse of the "grid to CRS" transform.Valid extent of grid coordinates together with the transform from those grid coordinates to real world coordinates.High-level description about how a grid is orientated relative to the CRS axes.Specifies rounding behavior during computations ofGridExtent
from floating-point 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)
.ABufferedImage
which will compute the "org.apache.sis.GridGeometry" property when first needed.Thrown byGridGeometry
when a grid geometry cannot provide the requested information.The translation to apply for different values ofPixelOrientation
orPixelInCell
.A multi-dimensional grid coverage where each two-dimensional slice is the resampling of data from another grid coverage.A view over another image with the origin relocated to a new position.Builds a grid geometry for a slice in aGridCoverage
.A grid coverage with the same data than the source coverage, with only a translation applied on grid coordinates.