Uses of Class
org.apache.sis.coverage.grid.GridExtent
Packages that use GridExtent
Package
Description
A coverage backed by a regular grid.
A set of helper classes for grid coverages.
Helper classes for the rendering of grid coverages.
Utility classes for the implementation of SIS storage classes.
Symbology and map representations, together with a rendering engine for display.
Resources which are aggregations or concatenations of other resources.
Maps GeoTIFF tags to ISO metadata and read raster data as coverages.
Base types for retrieving and saving tiles in resources.
-
Uses of GridExtent in org.apache.sis.coverage.grid
Fields in org.apache.sis.coverage.grid declared as GridExtentModifier and TypeFieldDescriptionprivate GridExtent
GridDerivation.baseExtent
The sub-extent ofGridDerivation.base
grid geometry to use for the new grid geometry.protected final GridExtent
GridGeometry.extent
The valid domain of a grid coverage, ornull
if unknown.private GridExtent
GridDerivation.scaledExtent
Same asGridDerivation.baseExtent
(expanded), but takes resolution or subsampling in account.private final GridExtent
ImageRenderer.sliceExtent
The requested slice, ornull
if unspecified.private final GridExtent
SliceGeometry.sliceExtent
Extents of the slice to take in the SliceGeometry.geometry.Fields in org.apache.sis.coverage.grid with type parameters of type GridExtentModifier and TypeFieldDescriptionprivate final Cache<GridExtent,
RenderedImage> BufferedGridCoverage.cachedRenderings
Cache of rendered images produced by calls toBufferedGridCoverage.render(GridExtent)
.Methods in org.apache.sis.coverage.grid that return GridExtentModifier and TypeMethodDescriptionprivate GridExtent
GridExtent.combine
(GridExtent other, boolean union) Implementation ofunion(GridExtent)
andintersect(GridExtent)
private static GridExtent
GridCoverage2D.createExtent
(int dimension, Rectangle bounds, org.opengis.referencing.crs.CoordinateReferenceSystem crs) Creates a grid extent with the low and high coordinates of the given image bounds.GridExtent.expand
(long... margins) Returns a grid extent expanded by the given amount of cells on both sides along each dimension.(package private) final GridExtent
GridExtent.forChunkSize
(int... sizes) Returns a grid extent expanded by the minimal amount of cells needed for covering an integer amount of chunks.private GridExtent
GridDerivation.getBaseExtentExpanded
(boolean nonNull) GridGeometry.getExtent()
Returns the valid coordinate range of a grid coverage.GridDerivation.getIntersection()
Returns the extent of the modified grid geometry, ignoring subsampling or changes in resolution.GridExtent.insertDimension
(int offset, org.opengis.metadata.spatial.DimensionNameType axisType, long low, long high, boolean isHighIncluded) Returns a new grid extent with the specified dimension inserted at the given index in this grid extent.GridExtent.intersect
(GridExtent other) Returns the intersection of this grid extent with the given grid extent.GridExtent.reduceDimension
(int... dimensions) Deprecated.(package private) final GridExtent
GridExtent.reorder
(int[] dimensions) Changes axis order or reduces the number of dimensions.GridExtent.resize
(long... sizes) Sets the size of grid extent to the given values by moving low and high coordinates.GridExtent.selectDimensions
(int... dimensions) Returns a grid extent that encompass only some dimensions of this grid extent.(package private) final GridExtent
GridExtent.slice
(org.opengis.geometry.DirectPosition slicePoint, int[] modifiedDimensions) Creates a new grid extent which represent a slice of this grid at the given point.(package private) final GridExtent
GridExtent.sliceByRatio
(org.opengis.geometry.DirectPosition slicePoint, double sliceRatio, int[] dimensionsToKeep) Returns a slice of this grid extent computed by a ratio between 0 and 1 inclusive.GridExtent.subsample
(int... periods) Creates a new grid extent subsampled by the given amount of cells along each grid dimensions.private static GridExtent
ResampledGridCoverage.targetExtent
(GridExtent source, org.opengis.referencing.operation.MathTransform cornerToCRS, org.opengis.referencing.operation.MathTransform crsToGrid, boolean center) Computes a target grid extent by transforming the source grid extent.FractionalGridCoordinates.toExtent
(GridExtent bounds, long... size) Creates a new grid extent around this grid coordinates.(package private) final GridExtent
FractionalGridCoordinates.toExtent
(GridExtent bounds, long[] size, boolean nullIfOutside) Implementation ofFractionalGridCoordinates.toExtent(GridExtent, long...)
with the option to replacePointOutsideCoverageException
by null return value.GridExtent.translate
(long... translation) Returns an extent translated by the given amount of cells compared to this extent.GridExtent.union
(GridExtent other) Returns the union of this grid extent with the given grid extent.GridExtent.upsample
(int... periods) Creates a new grid extent upsampled by the given amount of cells along each grid dimensions.GridExtent.withRange
(int index, long low, long high) Returns a grid extent identical to this grid extent except for the coordinate values in the specified dimension.Methods in org.apache.sis.coverage.grid with parameters of type GridExtentModifier and TypeMethodDescriptionprivate GridExtent
GridExtent.combine
(GridExtent other, boolean union) Implementation ofunion(GridExtent)
andintersect(GridExtent)
private static void
GridGeometry.ensureDimensionMatches
(int expected, GridExtent extent) Ensures that the given dimension is equal to the expected value.private static int[]
SliceGeometry.findTargetDimensions
(org.opengis.referencing.operation.MathTransform gridToCRS, GridExtent extent, double[] resolution, int[] gridDimensions, int dimCRS) Finds CRS (target) dimensions that are related to the given grid (source) dimensions.private static long
BufferedGridCoverage.getSampleCount
(GridExtent extent, long nbSamples) Returns the number of cells in the given extent multiplied by the number of bands.GridExtent.intersect
(GridExtent other) Returns the intersection of this grid extent with the given grid extent.(package private) final boolean
GridExtent.isSameSize
(GridExtent other) Returns whether this grid extent has the same size than the given extent.private boolean
CoordinateOperationFinder.isWraparoundNeeded
(GridExtent extent, org.opengis.referencing.operation.MathTransform extentToCRS, org.opengis.referencing.operation.MathTransform crsToGridNoWrap, org.opengis.referencing.operation.MathTransform sourceCrsToGrid) Verifies whether wraparound is needed for a "CRS to grid" transform.(package private) final String
FractionalGridCoordinates.pointOutsideCoverage
(GridExtent bounds) Creates an error message for a grid coordinates out of bounds.(package private) final GridGeometry
SliceGeometry.reduce
(GridExtent relativeExtent, int dimCRS) Creates a new grid geometry over the specified dimensions of the geometry specified at construction time.GridGeometry.relocate
(GridExtent newExtent) Returns a grid geometry with the given grid extent, which implies a new "real world" computation.BufferedGridCoverage.render
(GridExtent sliceExtent) Returns a two-dimensional slice of grid data as a rendered image.ConvertedGridCoverage.render
(GridExtent sliceExtent) Creates a converted view over source data for the given extent.abstract RenderedImage
GridCoverage.render
(GridExtent sliceExtent) Returns a two-dimensional slice of grid data as a rendered image.GridCoverage2D.render
(GridExtent sliceExtent) Returns a grid data region as a rendered image.ResampledGridCoverage.render
(GridExtent sliceExtent) Returns a two-dimensional slice of resampled grid data as a rendered image.TranslatedGridCoverage.render
(GridExtent sliceExtent) Returns a two-dimensional slice of grid data as a rendered image.(package private) static double[]
GridGeometry.resolution
(org.opengis.referencing.operation.MathTransform gridToCRS, GridExtent domain, org.opengis.referencing.datum.PixelInCell anchor) Computes the resolution for the given grid extent and transform, or returnsnull
if unknown.GridDerivation.subgrid
(GridExtent areaOfInterest, int... subsampling) Requests a grid geometry over a sub-region of the base grid geometry and optionally with subsampling.private static GridExtent
ResampledGridCoverage.targetExtent
(GridExtent source, org.opengis.referencing.operation.MathTransform cornerToCRS, org.opengis.referencing.operation.MathTransform crsToGrid, boolean center) Computes a target grid extent by transforming the source grid extent.FractionalGridCoordinates.toExtent
(GridExtent bounds, long... size) Creates a new grid extent around this grid coordinates.(package private) final GridExtent
FractionalGridCoordinates.toExtent
(GridExtent bounds, long[] size, boolean nullIfOutside) Implementation ofFractionalGridCoordinates.toExtent(GridExtent, long...)
with the option to replacePointOutsideCoverageException
by null return value.GridExtent.union
(GridExtent other) Returns the union of this grid extent with the given grid extent.private static void
GridCoverageBuilder.verifyGridExtent
(GridExtent extent, int... expectedSize) Verifies that the grid extent has the expected size.private static void
GridCoverage2D.verifyImageSize
(GridExtent extent, RenderedImage data, int[] imageAxes) Verifies that the domain is consistent with image size.Constructors in org.apache.sis.coverage.grid with parameters of type GridExtentModifierConstructorDescriptionDisjointExtentException
(GridExtent source, GridExtent request, int dim) Creates an exception with an error message built from the given extents.(package private)
GridCoverage2D
(GridCoverage source, GridGeometry domain, GridExtent extent, RenderedImage data) Creates a new grid coverage for the resampling of specified source coverage.private
GridExtent
(GridExtent extent) Creates a copy of the given grid extent.(package private)
GridExtent
(GridExtent enclosing, long[] coordinates) Creates a new grid extent with the same axes than the given extent, but different coordinates.(package private)
GridExtent
(AbstractEnvelope envelope, GridRoundingMode rounding, GridClippingMode clipping, int[] margin, int[] chunkSize, GridExtent enclosing, int[] modifiedDimensions) Creates a new grid extent by rounding the given envelope to (usually) nearest integers.GridGeometry
(GridExtent extent, org.opengis.geometry.Envelope envelope, GridOrientation orientation) Creates an axis-aligned grid geometry with an extent and an envelope.GridGeometry
(GridExtent extent, org.opengis.referencing.datum.PixelInCell anchor, org.opengis.referencing.operation.MathTransform gridToCRS, org.opengis.referencing.crs.CoordinateReferenceSystem crs) Creates a new grid geometry from a grid extent and a mapping from cell coordinates to "real world" coordinates.(package private)
GridGeometry
(GridExtent extent, org.opengis.referencing.operation.MathTransform gridToCRS, org.opengis.referencing.operation.MathTransform cornerToCRS, ImmutableEnvelope envelope, double[] resolution, long nonLinears) Creates a new grid geometry from the given components.GridGeometry
(GridGeometry other, GridExtent extent, org.opengis.referencing.operation.MathTransform toOther) Creates a new grid geometry derived from the given grid geometry with a new extent and a modified transform.ImageRenderer
(GridCoverage coverage, GridExtent sliceExtent) Creates a new image renderer for the given slice extent.(package private)
SliceGeometry
(GridGeometry geometry, GridExtent sliceExtent, int[] gridDimensions, org.opengis.referencing.operation.MathTransformFactory factory) Creates a new builder of slice geometry. -
Uses of GridExtent in org.apache.sis.internal.coverage
Methods in org.apache.sis.internal.coverage with parameters of type GridExtentModifier and TypeMethodDescriptionprivate static GridGeometry
CoverageCombiner.getGridGeometry
(RenderedImage image, GridCoverage coverage, GridExtent slice) Returns information about conversion from pixel coordinates to "real world" coordinates. -
Uses of GridExtent in org.apache.sis.internal.map.coverage
Fields in org.apache.sis.internal.map.coverage declared as GridExtentModifier and TypeFieldDescriptionprivate GridExtent
RenderingData.currentSlice
The slice extent which has been used for rendering the RenderingData.data.Methods in org.apache.sis.internal.map.coverage with parameters of type GridExtentModifier and TypeMethodDescriptionfinal boolean
RenderingData.ensureImageLoaded
(GridCoverage coverage, GridExtent sliceExtent, boolean force) Fetches the rendered image if RenderingData.data is null or is for a different slice. -
Uses of GridExtent in org.apache.sis.internal.storage
Fields in org.apache.sis.internal.storage declared as GridExtentModifier and TypeFieldDescriptionprivate final GridExtent
TiledGridCoverage.readExtent
The area to read in unit of the full coverage (without subsampling).(package private) final GridExtent
TiledGridResource.Subset.readExtent
The area to read in unit of the full coverage (without subsampling).(package private) final GridExtent
TiledGridResource.Subset.sourceExtent
The full size of the coverage in the enclosingTiledGridResource
.Methods in org.apache.sis.internal.storage that return GridExtentModifier and TypeMethodDescriptionRangeArgument.insertBandDimension
(GridExtent areaOfInterest, int bandDimension) Returns the given extent with a new dimension added for the bands.Methods in org.apache.sis.internal.storage with parameters of type GridExtentModifier and TypeMethodDescriptionfinal AffineTransform
WritableResourceSupport.getAffineTransform2D
(GridExtent extent, org.opengis.referencing.operation.MathTransform gridToCRS) Returns the "grid to CRS" transform as a two-dimensional affine transform.RangeArgument.insertBandDimension
(GridExtent areaOfInterest, int bandDimension) Returns the given extent with a new dimension added for the bands.TiledGridCoverage.render
(GridExtent sliceExtent) Returns a two-dimensional slice of grid data as a rendered image. -
Uses of GridExtent in org.apache.sis.portrayal
Subclasses of GridExtent in org.apache.sis.portrayalModifier and TypeClassDescription(package private) final class
AGridExtent
which remembers theCanvas.getPointOfInterest(boolean)
coordinates.Methods in org.apache.sis.portrayal that return GridExtentModifier and TypeMethodDescription(package private) static GridExtent
CanvasExtent.create
(GeneralEnvelope bounds, org.opengis.geometry.DirectPosition poi, org.opengis.metadata.spatial.DimensionNameType[] axisTypes, int agmDim) Creates a new grid extent from the given display bounds. -
Uses of GridExtent in org.apache.sis.storage.aggregate
Methods in org.apache.sis.storage.aggregate that return GridExtentModifier and TypeMethodDescription(package private) final GridExtent
GridSlice.getGridExtent()
Returns the grid extent of this slice.(package private) final GridExtent
GridSliceLocator.toSliceExtent
(GridExtent extent, int slice) Returns the extent to use for querying a coverage from the slice at the given index.Methods in org.apache.sis.storage.aggregate with parameters of type GridExtentModifier and TypeMethodDescription(package private) final String
GridSliceLocator.getDimensionName
(GridExtent extent) Return the name of the extent axis in the search dimension.(package private) final int
GridSliceLocator.getLower
(GridExtent sliceExtent, int fromIndex, int toIndex) Returns the index of the first slice which intersect the given extent.(package private) final int
GridSliceLocator.getUpper
(GridExtent sliceExtent, int fromIndex, int toIndex) Returns the index after the last slice which may intersect the given extent.(package private) final boolean
GridSliceLocator.isSlice
(GridExtent sliceExtent) Returnstrue
if the grid extent in the search dimension is a slice of size 1.ConcatenatedGridCoverage.render
(GridExtent extent) Returns a two-dimensional slice of grid data as a rendered image.(package private) final GridExtent
GridSliceLocator.toSliceExtent
(GridExtent extent, int slice) Returns the extent to use for querying a coverage from the slice at the given index.Method parameters in org.apache.sis.storage.aggregate with type arguments of type GridExtentModifier and TypeMethodDescription(package private) final <E> GridGeometry
GridSliceLocator.union
(GridGeometry base, List<E> slices, Function<E, GridExtent> getter) Creates a new grid geometry which is the union of all grid extent in the concatenated resource. -
Uses of GridExtent in org.apache.sis.storage.geotiff
Methods in org.apache.sis.storage.geotiff that return GridExtentModifier and TypeMethodDescription(package private) final GridExtent
ImageFileDirectory.getExtent()
Returns the image width and height without building the full grid geometry. -
Uses of GridExtent in org.apache.sis.storage.tiling
Methods in org.apache.sis.storage.tiling with parameters of type GridExtentModifier and TypeMethodDescriptionlong
WritableTileMatrix.deleteTiles
(GridExtent indicesRanges) Deletes all existing tiles in the given region.TileMatrix.getTiles
(GridExtent indicesRanges, boolean parallel) Retrieves a stream of existing tiles in the specified region.
selectDimensions(int...)
for clarity.