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 TypeMethodDescriptionbooleanaccept(GranuleDescriptor granuleDescriptor) This method is responsible for collecting all the granules accepting a certainFilter.Methods inherited from class BaseSubmosaicProducer
acceptGranule, collectGranules, createMosaic, doInputTransparency, getSourceThreshold, hasAlphaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SubmosaicProducer
init, isReprojecting
-
Constructor Details
-
DefaultSubmosaicProducer
public DefaultSubmosaicProducer(RasterLayerResponse rasterLayerResponse, Filter granuleFilter, boolean dryRun) Constructor.- Parameters:
granuleFilter- theFilterwe 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
truewhen aGranuleDescriptorfor which theGranuleDescriptor.originatorSimpleFeatureis evaluated positively by the internal filter and retain the granule, orfalseotherwise so that the caller can keep trying with a differentDefaultSubmosaicProducer- Specified by:
acceptin interfaceSubmosaicProducer- Overrides:
acceptin classBaseSubmosaicProducer- Parameters:
granuleDescriptor- theGranuleDescriptorto test with the internalFilter- Returns:
truein case theGranuleDescriptoris added,falseotherwise.
-