public class RasterZonalStatistics2 extends Object implements RasterProcess
GridCoverage2DRIA
operation. By default the input band is set 0, and the statistics to MEAN, MAX, MIN, EXTREMA,
VARIANCE, STANDARD DEVIATION.
The main difference between this class and RasterZonalStatistics
is the fact that this
operation will calculate the requested statistics for all the SimpleFeature
s in a single
step, without having to iterate on the features.
This Process is a simple wrapper of the ZonalStatistics
operation
Constructor and Description |
---|
RasterZonalStatistics2() |
Modifier and Type | Method and Description |
---|---|
List<ZoneGeometry> |
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) |
public List<ZoneGeometry> 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)
Copyright © 1996–2021 Geotools. All rights reserved.