Uses of Class
org.geotools.geometry.GeneralBounds
-
Packages that use GeneralBounds Package Description org.geotools.coverage.grid.io org.geotools.coverage.io.netcdf org.geotools.coverage.io.util org.geotools.coverage.util org.geotools.coverageio.jp2k Implementation for JPEG2000 format Coverage I/O leveraging on the JP2K plugins.org.geotools.gce.imagemosaic org.geotools.gce.imagepyramid org.geotools.geometry Basic geometry concepts to support referencing and coverage use.org.geotools.geopkg.mosaic org.geotools.gml4wcs.bindings org.geotools.image.util A set of helper classes for image handling in the Geotools implementation; Do not use!org.geotools.ows.wms Provides for Web Map Server client access as a Grid Coverage Exchange.org.geotools.ows.wmts org.geotools.referencing Reference systems implementation.org.geotools.renderer.lite.gridcoverage2d SLD 1.0 and SE RasterSymbolizer support classesorg.geotools.wcs.bindings -
-
Uses of GeneralBounds in org.geotools.coverage.grid.io
Fields in org.geotools.coverage.grid.io declared as GeneralBounds Modifier and Type Field Description protected GeneralBounds
AbstractGridCoverage2DReader. originalEnvelope
Envelope read from fileMethods in org.geotools.coverage.grid.io that return GeneralBounds Modifier and Type Method Description GeneralBounds
AbstractGridCoverage2DReader. getOriginalEnvelope()
Retrieves theGeneralBounds
for thisAbstractGridCoverage2DReader
.GeneralBounds
AbstractGridCoverage2DReader. getOriginalEnvelope(String coverageName)
Retrieves theGeneralBounds
for thisAbstractGridCoverage2DReader
.GeneralBounds
GridCoverage2DReader. getOriginalEnvelope()
Return the originalGeneralBounds
for the default coverage served by the underlying store.GeneralBounds
GridCoverage2DReader. getOriginalEnvelope(String coverageName)
Return the originalGeneralBounds
for the specified coverageName.Methods in org.geotools.coverage.grid.io with parameters of type GeneralBounds Modifier and Type Method Description protected static double[]
AbstractGridCoverage2DReader. getResolution(GeneralBounds envelope, Rectangle2D dim, CoordinateReferenceSystem crs)
This method is responsible for computing the resolutions in for the provided grid geometry in the provided crs.protected Integer
AbstractGridCoverage2DReader. setReadParams(String coverageName, OverviewPolicy overviewPolicy, ImageReadParam readP, GeneralBounds requestedEnvelope, Rectangle requestedDim)
This method is responsible for preparing the read param for doing anImageReader.read(int, ImageReadParam)
.protected Integer
AbstractGridCoverage2DReader. setReadParams(OverviewPolicy overviewPolicy, ImageReadParam readP, GeneralBounds requestedEnvelope, Rectangle requestedDim)
This method is responsible for preparing the read param for doing anImageReader.read(int, ImageReadParam)
. -
Uses of GeneralBounds in org.geotools.coverage.io.netcdf
Methods in org.geotools.coverage.io.netcdf that return GeneralBounds Modifier and Type Method Description GeneralBounds
NetCDFReader. getOriginalEnvelope()
GeneralBounds
NetCDFReader. getOriginalEnvelope(String coverageName)
-
Uses of GeneralBounds in org.geotools.coverage.io.util
Methods in org.geotools.coverage.io.util that return GeneralBounds Modifier and Type Method Description static GeneralBounds
Utilities. evaluateRequestedParams(GridEnvelope originalGridRange, ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, MathTransform originalGridToWorld, GeneralBounds requestedEnvelope, Rectangle sourceRegion, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Evaluates the requested envelope and builds a new adjusted version of it fitting this coverage envelope.static GeneralBounds
Utilities. getIntersection(ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds requestedEnvelope2D, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Returns the intersection between the base envelope and the requested envelope.static GeneralBounds
Utilities. getRequestedEnvelope2D(GeneralBounds requestedEnvelope)
Return a 2D version of a requestedEnvelopeMethods in org.geotools.coverage.io.util with parameters of type GeneralBounds Modifier and Type Method Description static GridCoverage
Utilities. compute(Object input, int imageIndex, boolean needTransformation, boolean isEmptyRequest, boolean useJAI, ImageReadParam imageReadParam, boolean useMultithreading, GridSampleDimension[] sampleDimensions, ImageReaderSpi imageReaderSpi, String coverageName, GridCoverageFactory coverageFactory, MathTransform raster2Model, CoordinateReferenceSystem coordinateReferenceSystem, GeneralBounds envelope2D)
Compute the coverage request and produce a grid coverage.static GridCoverage
Utilities. createCoverage(ImageReaderSpi spi, Object input, int imageIndex, ImageReadParam imageReadParam, boolean useJAI, boolean useMultithreading, boolean newTransform, GridSampleDimension[] sampleDimensions, String coverageName, GridCoverageFactory coverageFactory, MathTransform raster2Model, CoordinateReferenceSystem coordinateReferenceSystem, GeneralBounds coverageEnvelope2D)
This method creates the GridCoverage2D from the underlying file given a specified envelope, and a requested dimension.static GridCoverage
Utilities. createCoverageFromImage(GridCoverageFactory coverageFactory, String coverageName, int imageIndex, PlanarImage image, MathTransform raster2Model, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds coverageEnvelope2D, GridSampleDimension[] sampleDimensions)
Creates aGridCoverage
for the providedPlanarImage
using theMathTransform
that was provided for this coverage.static GeneralBounds
Utilities. evaluateRequestedParams(GridEnvelope originalGridRange, ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, MathTransform originalGridToWorld, GeneralBounds requestedEnvelope, Rectangle sourceRegion, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Evaluates the requested envelope and builds a new adjusted version of it fitting this coverage envelope.static Rectangle
Utilities. getCropRegion(GeneralBounds envelope, MathTransform gridToWorldTransform)
Return a crop region from a specified envelope, leveraging on a grid to world transformation.static GeneralBounds
Utilities. getIntersection(ReferencedEnvelope baseEnvelope2D, CoordinateReferenceSystem spatialReferenceSystem2D, GeneralBounds requestedEnvelope2D, Rectangle requestedDim, MathTransform2D readGridToWorld, ReferencedEnvelope wgs84BaseEnvelope2D)
Returns the intersection between the base envelope and the requested envelope.static GeneralBounds
Utilities. getRequestedEnvelope2D(GeneralBounds requestedEnvelope)
Return a 2D version of a requestedEnvelopestatic void
Utilities. setReadParameters(OverviewPolicy overviewPolicy, ImageReadParam readParam, GeneralBounds requestedEnvelope, Rectangle requestedDim, double[] highestRes, GridEnvelope gridRange, PixelInCell pixelInCell)
Prepares the read parameters for doing anImageReader.read(int, ImageReadParam)
. -
Uses of GeneralBounds in org.geotools.coverage.util
Methods in org.geotools.coverage.util with parameters of type GeneralBounds Modifier and Type Method Description static Polygon
FeatureUtilities. getPolygon(GeneralBounds env, GeometryFactory gf)
Convert the crop envelope into a polygon and the use the world-to-grid transform to get a ROI for the source coverage. -
Uses of GeneralBounds in org.geotools.coverageio.jp2k
Methods in org.geotools.coverageio.jp2k that return GeneralBounds Modifier and Type Method Description protected GeneralBounds
JP2KReader. getCoverageEnvelope()
Methods in org.geotools.coverageio.jp2k with parameters of type GeneralBounds Modifier and Type Method Description protected void
JP2KReader. setCoverageEnvelope(GeneralBounds coverageEnvelope)
-
Uses of GeneralBounds in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic that return GeneralBounds Modifier and Type Method Description GeneralBounds
GranuleDescriptor. getGranuleEnvelope()
GeneralBounds
ImageMosaicReader. getOriginalEnvelope()
GeneralBounds
ImageMosaicReader. getOriginalEnvelope(String coverageName)
Methods in org.geotools.gce.imagemosaic with parameters of type GeneralBounds Modifier and Type Method Description void
GranuleDescriptor. setGranuleEnvelope(GeneralBounds granuleEnvelope)
-
Uses of GeneralBounds in org.geotools.gce.imagepyramid
Methods in org.geotools.gce.imagepyramid that return GeneralBounds Modifier and Type Method Description GeneralBounds
ImagePyramidReader. getOriginalEnvelope(String coverageName)
-
Uses of GeneralBounds in org.geotools.geometry
Methods in org.geotools.geometry that return GeneralBounds Modifier and Type Method Description GeneralBounds
GeneralBounds. clone()
Returns a deep copy of this envelope.GeneralBounds
GeneralBounds. getReducedEnvelope(int lower, int upper)
Returns a new envelope with the same values than this envelope minus the specified range of dimensions.GeneralBounds
GeneralBounds. getSubEnvelope(int lower, int upper)
Returns a new envelope that encompass only some dimensions of this envelope.static GeneralBounds
GeneralBounds. toGeneralEnvelope(Bounds envelope)
Converts the envelope to a general envelope, avoiding the construction of a new object in case the input envelope is already a GeneralEnvelopeMethods in org.geotools.geometry with parameters of type GeneralBounds Modifier and Type Method Description void
GeneralBounds. setEnvelope(GeneralBounds envelope)
Sets this envelope to the same coordinate values than the specified envelope. -
Uses of GeneralBounds in org.geotools.geopkg.mosaic
Methods in org.geotools.geopkg.mosaic that return GeneralBounds Modifier and Type Method Description GeneralBounds
GeoPackageReader. getOriginalEnvelope(String coverageName)
-
Uses of GeneralBounds in org.geotools.gml4wcs.bindings
Methods in org.geotools.gml4wcs.bindings that return types with arguments of type GeneralBounds Modifier and Type Method Description Class<GeneralBounds>
EnvelopeTypeBinding. getType()
-
Uses of GeneralBounds in org.geotools.image.util
Methods in org.geotools.image.util with parameters of type GeneralBounds Modifier and Type Method Description static ReferencedEnvelope
ImageUtilities. getWGS84ReferencedEnvelope(GeneralBounds coverageEnvelope)
Builds aReferencedEnvelope
in WGS84 from aGeneralBounds
. -
Uses of GeneralBounds in org.geotools.ows.wms
Methods in org.geotools.ows.wms that return GeneralBounds Modifier and Type Method Description GeneralBounds
Layer. getEnvelope(CoordinateReferenceSystem crs)
Look up an envelope for the provided CoordinateReferenceSystem.GeneralBounds
WebMapServer. getEnvelope(Layer layer, CoordinateReferenceSystem crs)
Given a layer and a coordinate reference system, will locate an envelope for that layer in that CRS. -
Uses of GeneralBounds in org.geotools.ows.wmts
Methods in org.geotools.ows.wmts that return GeneralBounds Modifier and Type Method Description GeneralBounds
WebMapTileServer. getEnvelope(Layer layer, CoordinateReferenceSystem crs)
-
Uses of GeneralBounds in org.geotools.referencing
Methods in org.geotools.referencing that return GeneralBounds Modifier and Type Method Description static GeneralBounds
CRS. transform(Bounds envelope, CoordinateReferenceSystem targetCRS)
Transforms the given envelope to the specified CRS.static GeneralBounds
CRS. transform(CoordinateOperation operation, Bounds envelope)
Transforms an envelope using the given coordinate operation.static GeneralBounds
CRS. transform(MathTransform transform, Bounds envelope)
Transforms an envelope using the given math transform. -
Uses of GeneralBounds in org.geotools.renderer.lite.gridcoverage2d
Methods in org.geotools.renderer.lite.gridcoverage2d with parameters of type GeneralBounds Modifier and Type Method Description static GridCoverage2D
GridCoverageRendererUtilities. crop(GridCoverage2D coverage, GeneralBounds destinationEnvelope, boolean doReprojection, double[] backgroundValues, Hints hints)
Crop a coverage on a specified destination Envelopestatic List<GridCoverage2D>
GridCoverageRendererUtilities. displace(List<GridCoverage2D> coverages, ProjectionHandler handler, GeneralBounds destinationEnvelope, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, GridCoverageFactory gridCoverageFactory)
Displaces a list of coverages, using a ProjectionHandler to eventually split into proper envelopes.static GridCoverage2D
GridCoverageRendererUtilities. mosaicSorted(List<GridCoverage2D> coverages, GeneralBounds destinationEnvelope, double[] bgValues, Hints hints)
Mosaic coverages with a preliminary sorting by sizestatic void
GridCoverageRendererUtilities. removeNotIntersecting(List<GridCoverage2D> coverages, GeneralBounds destinationEnvelope)
After reprojection or displacement we could have some coverage that are completely out of the destination area (due to numerical issues their source bbox was interesting the request area, but their reprojected version does not).static List<GridCoverage2D>
GridCoverageRendererUtilities. reproject(List<GridCoverage2D> coverages, CoordinateReferenceSystem destinationCRS, Interpolation interpolation, GeneralBounds destinationEnvelope, double[] bkgValues, GridCoverageFactory gridCoverageFactory, Hints hints)
Reproject the specified list of coveragesstatic GridCoverage2D
GridCoverageRendererUtilities. reproject(GridCoverage2D coverage, CoordinateReferenceSystem destinationCRS, Interpolation interpolation, GeneralBounds destinationEnvelope, double[] bkgValues, GridCoverageFactory gridCoverageFactory, Hints hints)
Reproject a coverage to the specified destination, eventually adding a ROI if missing -
Uses of GeneralBounds in org.geotools.wcs.bindings
Methods in org.geotools.wcs.bindings that return types with arguments of type GeneralBounds Modifier and Type Method Description Class<GeneralBounds>
LonLatEnvelopeBaseTypeBinding. getType()
-