Package org.geotools.gce.imagemosaic.egr
Class ROIExcessGranuleRemover
- Object
-
- ROIExcessGranuleRemover
-
public class ROIExcessGranuleRemover extends Object
Support class helping to remove images not contributing pixels to the final mosaic based on the image ROIs (thus, working in raster space after the images are read)- Author:
- Andrea Aime - GeoSolutions
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TILE_SIZE
Default size for excess granule removal tiles
-
Constructor Summary
Constructors Constructor Description ROIExcessGranuleRemover(Rectangle rasterBounds, int tileWidth, int tileHeight, CoordinateReferenceSystem targetCRS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addGranule(GranuleDescriptor.GranuleLoadingResult result)
boolean
isRenderingAreaComplete()
Returns true if the rendering area is complete
-
-
-
Field Detail
-
DEFAULT_TILE_SIZE
public static final int DEFAULT_TILE_SIZE
Default size for excess granule removal tiles- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ROIExcessGranuleRemover
public ROIExcessGranuleRemover(Rectangle rasterBounds, int tileWidth, int tileHeight, CoordinateReferenceSystem targetCRS)
-
-
Method Detail
-
addGranule
public boolean addGranule(GranuleDescriptor.GranuleLoadingResult result)
-
isRenderingAreaComplete
public boolean isRenderingAreaComplete()
Returns true if the rendering area is complete
-
-