Uses of Class
org.geotools.coverage.grid.GridCoverage2D
-
-
Uses of GridCoverage2D in org.geotools.coverage.grid
Subclasses of GridCoverage2D in org.geotools.coverage.grid Modifier and Type Class Description class
Interpolator2D
A grid coverage using an interpolation for evaluating points.Fields in org.geotools.coverage.grid declared as GridCoverage2D Modifier and Type Field Description protected GridCoverage2D
Interpolator2D. source
The source grid coverage which was specified at construction time (nevernull
).Methods in org.geotools.coverage.grid that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
GridCoverageFactory. create(CharSequence name, float[][] matrix, Bounds envelope)
Constructs a grid coverage from the specified matrix and envelope.GridCoverage2D
GridCoverageFactory. create(CharSequence name, RenderedImage image, Bounds envelope)
GridCoverage2D
GridCoverageFactory. create(CharSequence name, RenderedImage image, Bounds envelope, GridSampleDimension[] bands, GridCoverage[] sources, Map<?,?> properties)
GridCoverage2D
GridCoverageFactory. create(CharSequence name, RenderedImage image, CoordinateReferenceSystem crs, MathTransform gridToCRS, GridSampleDimension[] bands, GridCoverage[] sources, Map<?,?> properties)
Constructs a grid coverage from the specified image and "grid to CRS" transform.GridCoverage2D
GridCoverageFactory. create(CharSequence name, RenderedImage image, GridGeometry2D gridGeometry, GridSampleDimension[] bands, GridCoverage[] sources, Map<?,?> properties)
Constructs a grid coverage from the specified image and grid geometry.GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, Bounds envelope)
GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, Bounds envelope, double[] minValues, double[] maxValues, Unit<?> units, Color[][] colors, RenderingHints hints)
GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, Bounds envelope, GridSampleDimension[] bands)
GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, CoordinateReferenceSystem crs, MathTransform gridToCRS, double[] minValues, double[] maxValues, Unit<?> units, Color[][] colors, RenderingHints hints)
Constructs a grid coverage from the specified raster and "grid to CRS" transform.GridCoverage2D
GridCoverageFactory. create(CharSequence name, WritableRaster raster, CoordinateReferenceSystem crs, MathTransform gridToCRS, GridSampleDimension[] bands)
Constructs a grid coverage from the specified raster and "grid to CRS" transform.GridCoverage2D
GridCoverageFactory. create(CharSequence name, ImageFunction function, GridGeometry2D gridGeometry, GridSampleDimension[] bands, Map<?,?> properties)
Constructs a grid coverage from an image function.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage)
Constructs a new interpolator using default interpolations.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation interpolation)
Constructs a new interpolator for a single interpolation.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation[] interpolations)
Constructs a new interpolator for an interpolation and its fallbacks.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation[] interpolations, BorderExtender be)
Constructs a new interpolator for an interpolation and its fallbacks.GridCoverage2D
GridCoverageBuilder. getGridCoverage2D()
Returns the grid coverage.Methods in org.geotools.coverage.grid with parameters of type GridCoverage2D Modifier and Type Method Description static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage)
Constructs a new interpolator using default interpolations.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation interpolation)
Constructs a new interpolator for a single interpolation.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation[] interpolations)
Constructs a new interpolator for an interpolation and its fallbacks.static GridCoverage2D
Interpolator2D. create(GridCoverage2D coverage, Interpolation[] interpolations, BorderExtender be)
Constructs a new interpolator for an interpolation and its fallbacks.Constructors in org.geotools.coverage.grid with parameters of type GridCoverage2D Constructor Description GridCoverage2D(CharSequence name, GridCoverage2D coverage)
Constructs a new grid coverage with the same parameter than the specified coverage. -
Uses of GridCoverage2D in org.geotools.coverage.grid.io
Methods in org.geotools.coverage.grid.io that return GridCoverage2D Modifier and Type Method Description protected GridCoverage2D
AbstractGridCoverage2DReader. createImageCoverage(String coverageName, PlanarImage image, MathTransform raster2Model)
Creates aGridCoverage
for the providedPlanarImage
using theAbstractGridCoverage2DReader.raster2Model
that was provided for this coverage.protected GridCoverage2D
AbstractGridCoverage2DReader. createImageCoverage(PlanarImage image, MathTransform raster2Model)
Creates aGridCoverage
for the providedPlanarImage
using theAbstractGridCoverage2DReader.raster2Model
that was provided for this coverage.GridCoverage2D
AbstractGridCoverage2DReader. read(String coverageName, GeneralParameterValue[] parameters)
abstract GridCoverage2D
AbstractGridCoverage2DReader. read(GeneralParameterValue[] parameters)
Read the current grid coverage from the stream.GridCoverage2D
GridCoverage2DReader. read(String coverageName, GeneralParameterValue[] parameters)
Retrieves theGridEnvelope
associated to the specified coverageName for thisGridCoverage2DReader
.GridCoverage2D
GridCoverage2DReader. read(GeneralParameterValue[] parameters)
Created aGridCoverage2D
out of thisGridCoverage2DReader
for the default coverage. -
Uses of GridCoverage2D in org.geotools.coverage.io
Methods in org.geotools.coverage.io that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
GridCoverageResponse. getGridCoverage2D()
Return the underlying GridCoverage2D (responses are always 2D) -
Uses of GridCoverage2D in org.geotools.coverage.io.impl
Methods in org.geotools.coverage.io.impl that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
DefaultGridCoverageResponse. getGridCoverage2D()
-
Uses of GridCoverage2D in org.geotools.coverage.io.netcdf
Methods in org.geotools.coverage.io.netcdf that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
NetCDFReader. read(String coverageName, GeneralParameterValue[] parameters)
GridCoverage2D
NetCDFReader. read(GeneralParameterValue[] parameters)
Read a GridCoverage2D base on the specified read parameters. -
Uses of GridCoverage2D in org.geotools.coverage.processing
Fields in org.geotools.coverage.processing with type parameters of type GridCoverage2D Modifier and Type Field Description static ParameterDescriptor<GridCoverage2D>
Operation2D. SOURCE_0
Convenience constant for the first sourceGridCoverage2D
.Methods in org.geotools.coverage.processing that return GridCoverage2D Modifier and Type Method Description protected GridCoverage2D
BaseScaleOperationJAI. deriveGridCoverage(GridCoverage2D[] sources, OperationJAI.Parameters parameters)
protected GridCoverage2D
OperationJAI. deriveGridCoverage(GridCoverage2D[] sources, OperationJAI.Parameters parameters)
Applies a JAI operation to a grid coverage.Methods in org.geotools.coverage.processing with parameters of type GridCoverage2D Modifier and Type Method Description protected GridCoverage2D
BaseScaleOperationJAI. deriveGridCoverage(GridCoverage2D[] sources, OperationJAI.Parameters parameters)
protected GridCoverage2D
OperationJAI. deriveGridCoverage(GridCoverage2D[] sources, OperationJAI.Parameters parameters)
Applies a JAI operation to a grid coverage.protected InternationalString
OperationJAI. deriveName(GridCoverage2D[] sources, int primarySourceIndex, OperationJAI.Parameters parameters)
Returns a name for the target grid coverage based on the given sources.protected void
Operation2D. extractSources(ParameterValueGroup parameters, String[] sourceNames, GridCoverage2D[] sources)
Extracts and prepares the sources for thisOperation2D
protected Map<String,?>
OperationJAI. getProperties(RenderedImage data, CoordinateReferenceSystem crs, InternationalString name, MathTransform gridToCRS, GridCoverage2D[] sources, OperationJAI.Parameters parameters)
Prepares the properties to be given to the coverage created by thederiveGridCoverage
method.protected static void
OperationJAI. handleROINoDataInternal(ParameterBlockJAI parameters, GridCoverage2D sourceCoverage, String operationName, int roiIndex, int noDataIndex)
This method can be used for merging input coverage properties (ROI and NoData) with the ones provided as input in the ParameterBlock instance.protected static Map<String,Object>
OperationJAI. handleROINoDataProperties(Map<String,Object> properties, ParameterBlockJAI parameters, GridCoverage2D sourceCoverage, String operationName, int roiIndex, int noDataIndex, int backgroundIndex)
This method can be used for creating a property Map to set to the new coverage generated by the current operation.protected void
OperationJAI. resampleToCommonGeometry(GridCoverage2D[] sources, CoordinateReferenceSystem crs2D, MathTransform2D gridToCrs2D, Hints hints)
Resamples all sources grid coverages to the same two-dimensional geometry before to apply the OperationJAI.operation.Method parameters in org.geotools.coverage.processing with type arguments of type GridCoverage2D Modifier and Type Method Description protected void
BaseMathOperationJAI. extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames)
protected void
OperationJAI. extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames)
Extraction of the sources from the parameter called SOURCES. -
Uses of GridCoverage2D in org.geotools.coverage.processing.operation
Method parameters in org.geotools.coverage.processing.operation with type arguments of type GridCoverage2D Modifier and Type Method Description protected void
BandMerge. extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources)
Extraction of the sources from the parameter called SOURCES.protected void
Mosaic. extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames)
protected void
Multiply. extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames)
Constructors in org.geotools.coverage.processing.operation with parameters of type GridCoverage2D Constructor Description GridCoverage2DRIA(GridCoverage2D src, GridGeometry2D dst, Vector sources, ImageLayout layout, Map configuration, boolean cobbleSources, BorderExtender extender, Interpolation interp, double[] nodata, ROI roi, Hints hints)
-
Uses of GridCoverage2D in org.geotools.coverage.util
Methods in org.geotools.coverage.util with parameters of type GridCoverage2D Modifier and Type Method Description static double[]
CoverageUtilities. getBackgroundValues(GridCoverage2D coverage)
Retrieves a best guess for the sample value to use for background, inspecting the categories of the providedGridCoverage2D
.static NoDataContainer
CoverageUtilities. getNoDataProperty(GridCoverage2D coverage)
Utility method for extracting NoData property from inputGridCoverage2D
.static ROI
CoverageUtilities. getROIProperty(GridCoverage2D coverage)
Utility method for extracting ROI property from inputGridCoverage2D
.static SimpleFeatureCollection
FeatureUtilities. wrapGridCoverage(GridCoverage2D coverage)
Wraps a grid coverage into a Feature. -
Uses of GridCoverage2D in org.geotools.coverageio
Methods in org.geotools.coverageio that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
BaseGridCoverage2DReader. read(GeneralParameterValue[] params)
Returns aGridCoverage
from this reader in compliance with the specified parameters. -
Uses of GridCoverage2D in org.geotools.coverageio.jp2k
Methods in org.geotools.coverageio.jp2k that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
JP2KReader. read(GeneralParameterValue[] params)
-
Uses of GridCoverage2D in org.geotools.gce.arcgrid
Methods in org.geotools.gce.arcgrid that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
ArcGridReader. read(GeneralParameterValue[] params)
Reads aGridCoverage2D
possibly matching as close as possible the resolution computed by using the input params provided by using the parameters for thisArcGridReader.read(GeneralParameterValue[])
. -
Uses of GridCoverage2D in org.geotools.gce.geotiff
Methods in org.geotools.gce.geotiff that return GridCoverage2D Modifier and Type Method Description protected GridCoverage2D
GeoTiffReader. createCoverage(PlanarImage image, MathTransform raster2Model, ROI roi)
Creates aGridCoverage
for the providedPlanarImage
using theAbstractGridCoverage2DReader.raster2Model
that was provided for this coverage.GridCoverage2D
GeoTiffReader. read(GeneralParameterValue[] params)
This method reads in the TIFF image, constructs an appropriate CRS, determines the math transform from raster to the CRS model, and constructs a GridCoverage. -
Uses of GridCoverage2D in org.geotools.gce.grassraster
Methods in org.geotools.gce.grassraster that return GridCoverage2D Modifier and Type Method Description static GridCoverage2D
JGrassUtilities. buildCoverage(String name, double[][] dataMatrix, double n, double s, double w, double e, CoordinateReferenceSystem crs, boolean matrixIsRowCol)
Creates acoverage
from a double[][] matrix and the necessary geographic Information.GridCoverage2D
GrassCoverageReader. read(GeneralParameterValue[] params)
GridCoverage2D
GrassCoverageReader. readRaster(JGrassRegion region)
Performs the reading of the coverage.Methods in org.geotools.gce.grassraster with parameters of type GridCoverage2D Modifier and Type Method Description static JGrassRegion
JGrassUtilities. getJGrassRegionFromGridCoverage(GridCoverage2D gridCoverage2D)
static void
JGrassUtilities. printImage(GridCoverage2D coverage2D)
void
GrassCoverageWriter. writeRaster(GridCoverage2D gridCoverage2D)
Writes thesupplied coverage
to disk.void
GrassCoverageWriter. writeRaster(GridCoverage2D gridCoverage2D, GeneralParameterValue[] params)
-
Uses of GridCoverage2D in org.geotools.gce.image
Methods in org.geotools.gce.image that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
WorldImageReader. read(GeneralParameterValue[] params)
Reads an image from a source stream. -
Uses of GridCoverage2D in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
RasterLayerResponse. createResponse()
Compute the coverage request and produce a grid coverage which will be returned byRasterLayerResponse.createResponse()
.GridCoverage2D
ImageMosaicReader. read(String coverageName, GeneralParameterValue[] params)
GridCoverage2D
ImageMosaicReader. read(GeneralParameterValue[] params)
Methods in org.geotools.gce.imagemosaic that return types with arguments of type GridCoverage2D Modifier and Type Method Description Collection<GridCoverage2D>
RasterManager. read(GeneralParameterValue[] params)
-
Uses of GridCoverage2D in org.geotools.gce.imagepyramid
Methods in org.geotools.gce.imagepyramid that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
ImagePyramidReader. read(String coverageName, GeneralParameterValue[] params)
GridCoverage2D
ImagePyramidReader. read(GeneralParameterValue[] params)
-
Uses of GridCoverage2D in org.geotools.gce.pgraster
Methods in org.geotools.gce.pgraster that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
PGRasterReader. read(GeneralParameterValue[] params)
-
Uses of GridCoverage2D in org.geotools.geopkg.mosaic
Methods in org.geotools.geopkg.mosaic that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
GeoPackageReader. read(String coverageName, GeneralParameterValue[] parameters)
GridCoverage2D
GeoPackageReader. read(GeneralParameterValue[] parameters)
-
Uses of GridCoverage2D in org.geotools.map
Fields in org.geotools.map declared as GridCoverage2D Modifier and Type Field Description protected GridCoverage2D
GridCoverageLayer. coverage
Grid Coverage to be drawn.Methods in org.geotools.map that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
GridCoverageLayer. getCoverage()
Access to the grid coverage being drawn.Constructors in org.geotools.map with parameters of type GridCoverage2D Constructor Description GridCoverageLayer(GridCoverage2D coverage, Style style)
Create layer to draw the provided grid coverage.GridCoverageLayer(GridCoverage2D coverage, Style style, String title)
Create layer to draw the provided grid coverage. -
Uses of GridCoverage2D in org.geotools.mbtiles.mosaic
Methods in org.geotools.mbtiles.mosaic that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
MBTilesReader. read(GeneralParameterValue[] parameters)
-
Uses of GridCoverage2D in org.geotools.ows.wms.map
Methods in org.geotools.ows.wms.map that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
WMSCoverageReader. read(GeneralParameterValue[] parameters)
-
Uses of GridCoverage2D in org.geotools.ows.wmts.map
Methods in org.geotools.ows.wmts.map that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
WMTSCoverageReader. read(GeneralParameterValue[] parameters)
-
Uses of GridCoverage2D in org.geotools.process.raster
Methods in org.geotools.process.raster that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
AddCoveragesProcess. execute(GridCoverage2D coverageA, GridCoverage2D coverageB, ProgressListener progressListener)
GridCoverage2D
AffineProcess. execute(GridCoverage2D coverage, Double scaleX, Double scaleY, Double shearX, Double shearY, Double translateX, Double translateY, double[] nodata, Interpolation interp)
GridCoverage2D
AreaGridProcess. execute(ReferencedEnvelope bounds, int width, int height)
GridCoverage2D
BandMergeProcess. execute(Collection<GridCoverage2D> coverages, Geometry roi, String transformChoice, Integer index)
GridCoverage2D
BandSelectProcess. execute(GridCoverage2D coverage, int[] sampleDims, Integer visibleSampleDim)
GridCoverage2D
ConvolveCoverageProcess. execute(GridCoverage2D coverage, KernelJAI kernel, Integer kernelRadius, Integer kernelWidth, Integer kernelHeight)
GridCoverage2D
CropCoverage. execute(GridCoverage2D coverage, Geometry cropShape, ProgressListener progressListener)
GridCoverage2D
JiffleProcess. execute(GridCoverage2D[] coverages, String script, String destName, String[] sourceNames, Range.DataType dataType, Integer outputBandCount, String outputBandNames, ProgressListener progressListener)
Executes a Jiffle raster algebra.GridCoverage2D
MultiplyCoveragesProcess. execute(GridCoverage2D coverageA, GridCoverage2D coverageB, ProgressListener progressListener)
GridCoverage2D
NormalizeCoverageProcess. execute(GridCoverage2D coverage)
GridCoverage2D
RangeLookupProcess. execute(GridCoverage2D coverage, Integer classificationBand, List<Range> classificationRanges, int[] outputPixelValues, Double noData, ProgressListener listener)
GridCoverage2D
RangeLookupProcess. execute(GridCoverage2D coverage, Integer classificationBand, List<Range> classificationRanges, ProgressListener listener)
Execute the RangeLookupProcess on the provided coverage (left for backwards compatibility)GridCoverage2D
ScaleCoverage. execute(GridCoverage2D coverage, double xScale, double yScale, double xTranslate, double yTranslate, Interpolation interpolation)
GridCoverage2D
StyleCoverage. execute(GridCoverage2D coverage, Style style)
GridCoverage2D
TransparencyFillProcess. execute(GridCoverage2D coverage, Integer width, ProgressListener listener)
Methods in org.geotools.process.raster with parameters of type GridCoverage2D Modifier and Type Method Description static void
BaseCoverageAlgebraProcess. checkCompatibleCoverages(GridCoverage2D coverageA, GridCoverage2D coverageB)
static SimpleFeatureType
CoverageUtilities. createFeatureType(GridCoverage2D gc2d, Class<? extends Geometry> geometryClass)
Creates aSimpleFeatureType
that exposes a coverage as a collections of feature points, mapping the centre of each pixel as a point plus all the bands as attributes.GridCoverage2D
AddCoveragesProcess. execute(GridCoverage2D coverageA, GridCoverage2D coverageB, ProgressListener progressListener)
GridCoverage2D
AffineProcess. execute(GridCoverage2D coverage, Double scaleX, Double scaleY, Double shearX, Double shearY, Double translateX, Double translateY, double[] nodata, Interpolation interp)
GridCoverage2D
BandSelectProcess. execute(GridCoverage2D coverage, int[] sampleDims, Integer visibleSampleDim)
SimpleFeatureCollection
ContourProcess. execute(GridCoverage2D gc2d, Integer band, double[] levels, Double interval, Boolean simplify, Boolean smooth, Geometry roi, ProgressListener progressListener)
GridCoverage2D
ConvolveCoverageProcess. execute(GridCoverage2D coverage, KernelJAI kernel, Integer kernelRadius, Integer kernelWidth, Integer kernelHeight)
CoverageClassStats.Results
CoverageClassStats. execute(GridCoverage2D coverage, Set<Statistic> stats, Integer band, Integer classes, ClassificationMethod method, Double noData, ProgressListener progressListener)
GridCoverage2D
CropCoverage. execute(GridCoverage2D coverage, Geometry cropShape, ProgressListener progressListener)
SimpleFeatureCollection
FootprintExtractionProcess. execute(GridCoverage2D coverage, List<Range<Integer>> exclusionRanges, Double thresholdArea, Boolean computeSimplifiedFootprint, Double simplifierFactor, Boolean removeCollinear, Boolean forceValid, MarchingSquaresVectorizer.ImageLoadingType imageLoadingType, ProgressListener progressListener)
Executes the raster to vector process.GridCoverage2D
JiffleProcess. execute(GridCoverage2D[] coverages, String script, String destName, String[] sourceNames, Range.DataType dataType, Integer outputBandCount, String outputBandNames, ProgressListener progressListener)
Executes a Jiffle raster algebra.GridCoverage2D
MultiplyCoveragesProcess. execute(GridCoverage2D coverageA, GridCoverage2D coverageB, ProgressListener progressListener)
GridCoverage2D
NormalizeCoverageProcess. execute(GridCoverage2D coverage)
SimpleFeatureCollection
PolygonExtractionProcess. execute(GridCoverage2D coverage, Integer band, Boolean insideEdges, Geometry roi, Collection<Number> noDataValues, List<Range> classificationRanges, ProgressListener progressListener)
Executes the raster to vector process.GridCoverage2D
RangeLookupProcess. execute(GridCoverage2D coverage, Integer classificationBand, List<Range> classificationRanges, int[] outputPixelValues, Double noData, ProgressListener listener)
GridCoverage2D
RangeLookupProcess. execute(GridCoverage2D coverage, Integer classificationBand, List<Range> classificationRanges, ProgressListener listener)
Execute the RangeLookupProcess on the provided coverage (left for backwards compatibility)SimpleFeatureCollection
RasterAsPointCollectionProcess. execute(GridCoverage2D gc2d, CoordinateReferenceSystem targetCRS, Float scaleFactor, Interpolation interpolation, Boolean emisphere)
SimpleFeatureCollection
RasterZonalStatistics. execute(GridCoverage2D coverage, Integer band, SimpleFeatureCollection zones, GridCoverage2D classification)
List<ZoneGeometry>
RasterZonalStatistics2. execute(GridCoverage2D coverage, int[] bands, List<SimpleFeature> zones, GridCoverage2D classifier, Range nodata, Geometry mask, boolean useROIAccessor, Polygon roi, Statistics.StatsType[] stats, double[] minbounds, double[] maxbounds, int[] numbins, List<Range> rangeData, boolean localStats)
GridCoverage2D
ScaleCoverage. execute(GridCoverage2D coverage, double xScale, double yScale, double xTranslate, double yTranslate, Interpolation interpolation)
GridCoverage2D
StyleCoverage. execute(GridCoverage2D coverage, Style style)
GridCoverage2D
TransparencyFillProcess. execute(GridCoverage2D coverage, Integer width, ProgressListener listener)
static HashMap<String,Double>
CoverageUtilities. getRegionParamsFromGridCoverage(GridCoverage2D gridCoverage)
Get the parameters of the region covered by thecoverage
.static SimpleFeatureCollection
ContourProcess. process(GridCoverage2D gc2d, Integer band, double[] levels, Double interval, Boolean simplify, Boolean smooth, Geometry roi, ProgressListener progressListener)
Perform the contouring on the input GridCoverage2D and returns the results as a feature collection.Method parameters in org.geotools.process.raster with type arguments of type GridCoverage2D Modifier and Type Method Description static void
BaseCoverageAlgebraProcess. checkCompatibleCoveragesForMerge(Collection<GridCoverage2D> coverages)
Utility method for ensuring that all the Input Coverages have the same CRSGridCoverage2D
BandMergeProcess. execute(Collection<GridCoverage2D> coverages, Geometry roi, String transformChoice, Integer index)
Constructors in org.geotools.process.raster with parameters of type GridCoverage2D Constructor Description MarchingSquaresVectorizer(GridCoverage2D inGeodata, RenderingHints hints, double thresholdArea, double simplifierFactor, MarchingSquaresVectorizer.ImageLoadingType imageLoadingType, List<Range<Integer>> exclusionLuminanceRanges)
Main Constructor usingGridCoverage2D
as input. -
Uses of GridCoverage2D in org.geotools.process.vector
Methods in org.geotools.process.vector that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
BarnesSurfaceProcess. execute(SimpleFeatureCollection obsFeatures, String valueAttr, Integer argDataLimit, Double argScale, Double argConvergence, Integer argPasses, Integer argMinObsCount, Double argMaxObsDistance, Double argNoDataValue, Integer argPixelsPerCell, Double argQueryBuffer, ReferencedEnvelope outputEnv, Integer outputWidth, Integer outputHeight, ProgressListener monitor)
GridCoverage2D
HeatmapProcess. execute(SimpleFeatureCollection obsFeatures, Integer argRadiusPixels, String valueAttr, Integer argPixelsPerCell, ReferencedEnvelope argOutputEnv, Integer argOutputWidth, Integer argOutputHeight, ProgressListener monitor)
GridCoverage2D
VectorToRasterProcess. execute(SimpleFeatureCollection features, Integer rasterWidth, Integer rasterHeight, String title, String attribute, Bounds bounds, ProgressListener progressListener)
static GridCoverage2D
VectorToRasterProcess. process(SimpleFeatureCollection features, Object attribute, Dimension gridDim, Bounds bounds, String covName, ProgressListener monitor)
A static helper method that can be called directy to run the process. -
Uses of GridCoverage2D in org.geotools.renderer.lite
Methods in org.geotools.renderer.lite that return GridCoverage2D Modifier and Type Method Description protected abstract GridCoverage2D
RenderingTransformationHelper. readCoverage(GridCoverage2DReader reader, Object params, GridGeometry2D readGG)
Subclasses will override and provide means to read the coverageConstructors in org.geotools.renderer.lite with parameters of type GridCoverage2D Constructor Description RenderRasterRequest(Graphics2D graphics, GridCoverage2D coverage, boolean disposeCoverage, RasterSymbolizer symbolizer, CoordinateReferenceSystem destinationCRS, AffineTransform worldToScreen, Interpolation interpolation)
-
Uses of GridCoverage2D in org.geotools.renderer.lite.gridcoverage2d
Methods in org.geotools.renderer.lite.gridcoverage2d that return GridCoverage2D Modifier and Type Method Description static GridCoverage2D
GridCoverageRendererUtilities. affine(GridCoverage2D coverage, Interpolation interpolation, AffineTransform affineTransform, double[] bkgValues, boolean useInputSampleDimensions, GridCoverageFactory gridCoverageFactory, Hints hints)
Apply an affineTransformation to a GridCoveragestatic GridCoverage2D
GridCoverageRendererUtilities. crop(GridCoverage2D coverage, GeneralBounds destinationEnvelope, boolean doReprojection, double[] backgroundValues, Hints hints)
Crop a coverage on a specified destination EnvelopeGridCoverage2D
RasterSymbolizerHelper. execute()
We are hacking here a solutions for whenever the user either did not specify a style or did specify a bad one and the resulting image seems not be drawable.GridCoverage2D
BaseCoverageProcessingNode. getOutput()
This method is responsible for triggering the execution of thisCoverageProcessingNode
and also of all its sources.static GridCoverage2D
GridCoverageRendererUtilities. mosaicSorted(List<GridCoverage2D> coverages, GeneralBounds destinationEnvelope, double[] bgValues, Hints hints)
Mosaic coverages with a preliminary sorting by sizeGridCoverage2D
GridCoverageReaderHelper. readCoverage(GeneralParameterValue[] params)
Reads a single coverage for the area specified in the constructor, the code will not attempt multiple reads to manage reads across the date line, reducing the read area, splitting it into parts to manage certain projections (e.g., conic) and so onstatic 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 missingMethods in org.geotools.renderer.lite.gridcoverage2d that return types with arguments of type GridCoverage2D Modifier and Type Method Description static 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 List<GridCoverage2D>
GridCoverageRendererUtilities. forceToValidBounds(List<GridCoverage2D> coverages, ProjectionHandler handler, double[] bgValues, CoordinateReferenceSystem targetCRS, Hints hints)
Forces an input list of coverages to the valid bounds of the provided target CRS, when a reprojection is needed, using a ProjectionHandler.List<GridCoverage2D>
GridCoverageReaderHelper. readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler)
Reads the data taking into account advanced projection handling in order to deal with date line crossing, poles and other projection trouble areas.List<GridCoverage2D>
GridCoverageReaderHelper. readCoverages(GeneralParameterValue[] readParams, ProjectionHandler handler, GridCoverageFactory gridCoverageFactory)
Reads the data taking into account advanced projection handling in order to deal with date line crossing, poles and other projection trouble areas.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 coveragesMethods in org.geotools.renderer.lite.gridcoverage2d with parameters of type GridCoverage2D Modifier and Type Method Description static GridCoverage2D
GridCoverageRendererUtilities. affine(GridCoverage2D coverage, Interpolation interpolation, AffineTransform affineTransform, double[] bkgValues, boolean useInputSampleDimensions, GridCoverageFactory gridCoverageFactory, Hints hints)
Apply an affineTransformation to a GridCoveragestatic GridCoverage2D
GridCoverageRendererUtilities. crop(GridCoverage2D coverage, GeneralBounds destinationEnvelope, boolean doReprojection, double[] backgroundValues, Hints hints)
Crop a coverage on a specified destination Envelopevoid
GridCoverageRenderer. paint(Graphics2D graphics, GridCoverage2D gridCoverage, RasterSymbolizer symbolizer)
Paint this grid coverage.void
GridCoverageRenderer. paint(Graphics2D graphics, GridCoverage2D gridCoverage, RasterSymbolizer symbolizer, double[] bkgValues)
Paint this grid coverage.RenderedImage
GridCoverageRenderer. renderImage(GridCoverage2D gridCoverage, RasterSymbolizer symbolizer, double[] bkgValues)
Turns the coverage into a rendered image applying the necessary transformations and the symbolizerRenderedImage
GridCoverageRenderer. renderImage(GridCoverage2D gridCoverage, RasterSymbolizer symbolizer, Interpolation interpolation, Color background, int tileSizeX, int tileSizeY)
Turns the coverage into a rendered image applying the necessary transformations and the symbolizerstatic 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 missingMethod parameters in org.geotools.renderer.lite.gridcoverage2d with type arguments of type GridCoverage2D Modifier and Type Method Description static 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 List<GridCoverage2D>
GridCoverageRendererUtilities. forceToValidBounds(List<GridCoverage2D> coverages, ProjectionHandler handler, double[] bgValues, CoordinateReferenceSystem targetCRS, Hints hints)
Forces an input list of coverages to the valid bounds of the provided target CRS, when a reprojection is needed, using a ProjectionHandler.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 coveragesConstructors in org.geotools.renderer.lite.gridcoverage2d with parameters of type GridCoverage2D Constructor Description RasterSymbolizerHelper(GridCoverage2D sourceCoverage, Hints hints)
-
Uses of GridCoverage2D in org.geotools.tile.util
Methods in org.geotools.tile.util that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
TileLayer. getCoverage()
-
Uses of GridCoverage2D in org.geotools.tpk
Methods in org.geotools.tpk that return GridCoverage2D Modifier and Type Method Description GridCoverage2D
TPKReader. read(GeneralParameterValue[] parameters)
-