use of org.locationtech.geowave.adapter.raster.stats.RasterHistogramStatistic in project geowave by locationtech.
the class RasterDataAdapter method getDefaultStatistics.
@Override
public List<Statistic<? extends StatisticValue<?>>> getDefaultStatistics() {
final List<Statistic<?>> statistics = Lists.newArrayList();
final RasterOverviewStatistic overview = new RasterOverviewStatistic(getTypeName());
overview.setInternal();
statistics.add(overview);
final RasterBoundingBoxStatistic bbox = new RasterBoundingBoxStatistic(getTypeName());
bbox.setInternal();
statistics.add(bbox);
if (histogramConfig != null) {
final RasterHistogramStatistic histogram = new RasterHistogramStatistic(getTypeName(), histogramConfig);
histogram.setInternal();
statistics.add(histogram);
}
return statistics;
}
Aggregations