Search in sources :

Example 1 with RasterHistogramStatistic

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;
}
Also used : RasterOverviewStatistic(org.locationtech.geowave.adapter.raster.stats.RasterOverviewStatistic) RasterHistogramStatistic(org.locationtech.geowave.adapter.raster.stats.RasterHistogramStatistic) RasterHistogramStatistic(org.locationtech.geowave.adapter.raster.stats.RasterHistogramStatistic) RasterOverviewStatistic(org.locationtech.geowave.adapter.raster.stats.RasterOverviewStatistic) Statistic(org.locationtech.geowave.core.store.api.Statistic) RasterBoundingBoxStatistic(org.locationtech.geowave.adapter.raster.stats.RasterBoundingBoxStatistic) RasterBoundingBoxStatistic(org.locationtech.geowave.adapter.raster.stats.RasterBoundingBoxStatistic)

Aggregations

RasterBoundingBoxStatistic (org.locationtech.geowave.adapter.raster.stats.RasterBoundingBoxStatistic)1 RasterHistogramStatistic (org.locationtech.geowave.adapter.raster.stats.RasterHistogramStatistic)1 RasterOverviewStatistic (org.locationtech.geowave.adapter.raster.stats.RasterOverviewStatistic)1 Statistic (org.locationtech.geowave.core.store.api.Statistic)1