Package org.geotools.gce.imagemosaic
Class GranuleLoader
- Object
-
- GranuleLoader
-
- All Implemented Interfaces:
Callable<GranuleDescriptor.GranuleLoadingResult>
public class GranuleLoader extends Object implements Callable<GranuleDescriptor.GranuleLoadingResult>
SpecificCallable
implementation that can be used to load the result of a request on a singleGranuleDescriptor
viaGranuleDescriptor.GranuleLoadingResult
.- Author:
- Simone Giannecchini, GeoSolutions SAS
-
-
Constructor Summary
Constructors Constructor Description GranuleLoader(ImageReadParam readParameters, int imageIndex, ReferencedEnvelope cropBBox, MathTransform2D mosaicWorldToGrid, GranuleDescriptor granuleDescriptor, RasterLayerRequest request, Hints hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GranuleDescriptor.GranuleLoadingResult
call()
BoundingBox
getCropBBox()
GranuleDescriptor
getGranule()
int
getImageIndex()
MathTransform2D
getMosaicWorldToGrid()
ImageReadParam
getReadParameters()
-
-
-
Constructor Detail
-
GranuleLoader
public GranuleLoader(ImageReadParam readParameters, int imageIndex, ReferencedEnvelope cropBBox, MathTransform2D mosaicWorldToGrid, GranuleDescriptor granuleDescriptor, RasterLayerRequest request, Hints hints)
-
-
Method Detail
-
getCropBBox
public BoundingBox getCropBBox()
-
getMosaicWorldToGrid
public MathTransform2D getMosaicWorldToGrid()
-
getGranule
public GranuleDescriptor getGranule()
-
getReadParameters
public ImageReadParam getReadParameters()
-
getImageIndex
public int getImageIndex()
-
call
public GranuleDescriptor.GranuleLoadingResult call() throws Exception
- Specified by:
call
in interfaceCallable<GranuleDescriptor.GranuleLoadingResult>
- Throws:
Exception
-
-