Class DefaultSubmosaicProducer
Object
BaseSubmosaicProducer
DefaultSubmosaicProducer
- All Implemented Interfaces:
SubmosaicProducer
Class responsible for loading granules, mosaicking a group of granules, pre-processing them before handling, etc.
- Author:
- Simone Giannecchini, GeoSolutions SAS
-
Field Summary
Fields inherited from class BaseSubmosaicProducer
doInputTransparency, dryRun, granulesFutures, granulesNumber, hasAlpha, inputTransparentColor, rasterLayerResponse, sourceThreshold
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSubmosaicProducer
(RasterLayerResponse rasterLayerResponse, Filter granuleFilter, boolean dryRun) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(GranuleDescriptor granuleDescriptor) This method is responsible for collecting all the granules accepting a certainFilter
.Methods inherited from class BaseSubmosaicProducer
acceptGranule, collectGranules, createMosaic, doInputTransparency, getSourceThreshold, hasAlpha
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface SubmosaicProducer
init, isReprojecting
-
Constructor Details
-
DefaultSubmosaicProducer
public DefaultSubmosaicProducer(RasterLayerResponse rasterLayerResponse, Filter granuleFilter, boolean dryRun) Constructor.- Parameters:
granuleFilter
- theFilter
we are supposed to use to select granules for thisDefaultSubmosaicProducer
.dryRun
- whether we need to make
-
-
Method Details
-
accept
This method is responsible for collecting all the granules accepting a certainFilter
.The method return
true
when aGranuleDescriptor
for which theGranuleDescriptor.originator
SimpleFeature
is evaluated positively by the internal filter and retain the granule, orfalse
otherwise so that the caller can keep trying with a differentDefaultSubmosaicProducer
- Specified by:
accept
in interfaceSubmosaicProducer
- Overrides:
accept
in classBaseSubmosaicProducer
- Parameters:
granuleDescriptor
- theGranuleDescriptor
to test with the internalFilter
- Returns:
true
in case theGranuleDescriptor
is added,false
otherwise.
-