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 GridExtentGridDerivation.baseExtentThe sub-extent ofGridDerivation.basegrid geometry to use for the new grid geometry.protected final GridExtentGridGeometry.extentThe valid domain of a grid coverage, ornullif unknown.private GridExtentGridDerivation.scaledExtentSame asGridDerivation.baseExtent(expanded), but takes resolution or subsampling in account.private final GridExtentImageRenderer.sliceExtentThe requested slice, ornullif unspecified.private final GridExtentSliceGeometry.sliceExtentExtents 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.cachedRenderingsCache of rendered images produced by calls toBufferedGridCoverage.render(GridExtent).Methods in org.apache.sis.coverage.grid that return GridExtentModifier and TypeMethodDescriptionprivate GridExtentGridExtent.combine(GridExtent other, boolean union) Implementation ofunion(GridExtent)andintersect(GridExtent)private static GridExtentGridCoverage2D.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 GridExtentGridExtent.forChunkSize(int... sizes) Returns a grid extent expanded by the minimal amount of cells needed for covering an integer amount of chunks.private GridExtentGridDerivation.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 GridExtentGridExtent.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 GridExtentGridExtent.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 GridExtentGridExtent.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 GridExtentResampledGridCoverage.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 GridExtentFractionalGridCoordinates.toExtent(GridExtent bounds, long[] size, boolean nullIfOutside) Implementation ofFractionalGridCoordinates.toExtent(GridExtent, long...)with the option to replacePointOutsideCoverageExceptionby 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 GridExtentGridExtent.combine(GridExtent other, boolean union) Implementation ofunion(GridExtent)andintersect(GridExtent)private static voidGridGeometry.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 longBufferedGridCoverage.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 booleanGridExtent.isSameSize(GridExtent other) Returns whether this grid extent has the same size than the given extent.private booleanCoordinateOperationFinder.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 StringFractionalGridCoordinates.pointOutsideCoverage(GridExtent bounds) Creates an error message for a grid coordinates out of bounds.(package private) final GridGeometrySliceGeometry.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 RenderedImageGridCoverage.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 returnsnullif 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 GridExtentResampledGridCoverage.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 GridExtentFractionalGridCoordinates.toExtent(GridExtent bounds, long[] size, boolean nullIfOutside) Implementation ofFractionalGridCoordinates.toExtent(GridExtent, long...)with the option to replacePointOutsideCoverageExceptionby null return value.GridExtent.union(GridExtent other) Returns the union of this grid extent with the given grid extent.private static voidGridCoverageBuilder.verifyGridExtent(GridExtent extent, int... expectedSize) Verifies that the grid extent has the expected size.private static voidGridCoverage2D.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.privateGridExtent(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 GridGeometryCoverageCombiner.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 GridExtentRenderingData.currentSliceThe 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 booleanRenderingData.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 GridExtentTiledGridCoverage.readExtentThe area to read in unit of the full coverage (without subsampling).(package private) final GridExtentTiledGridResource.Subset.readExtentThe area to read in unit of the full coverage (without subsampling).(package private) final GridExtentTiledGridResource.Subset.sourceExtentThe 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 AffineTransformWritableResourceSupport.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 classAGridExtentwhich remembers theCanvas.getPointOfInterest(boolean)coordinates.Methods in org.apache.sis.portrayal that return GridExtentModifier and TypeMethodDescription(package private) static GridExtentCanvasExtent.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 GridExtentGridSlice.getGridExtent()Returns the grid extent of this slice.(package private) final GridExtentGridSliceLocator.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 StringGridSliceLocator.getDimensionName(GridExtent extent) Return the name of the extent axis in the search dimension.(package private) final intGridSliceLocator.getLower(GridExtent sliceExtent, int fromIndex, int toIndex) Returns the index of the first slice which intersect the given extent.(package private) final intGridSliceLocator.getUpper(GridExtent sliceExtent, int fromIndex, int toIndex) Returns the index after the last slice which may intersect the given extent.(package private) final booleanGridSliceLocator.isSlice(GridExtent sliceExtent) Returnstrueif 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 GridExtentGridSliceLocator.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> GridGeometryGridSliceLocator.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 GridExtentImageFileDirectory.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 TypeMethodDescriptionlongWritableTileMatrix.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.