public class FramedBufferResampling extends Object
RasterDataStore
adjust the bounding box and the size in pixels
to the source limits. The user can need a buffer that exceeds the raster dimension.
In this case, the area that is out of the raster limits should be set to nodata values or
transparent in RGB cases.Modifier and Type | Field and Description |
---|---|
protected byte |
byteNoData |
protected double |
doubleNoData |
protected float |
floatNoData |
protected int |
intNoData |
protected short |
shortNoData |
Constructor and Description |
---|
FramedBufferResampling(DefaultRasterQuery q,
RasterDataStore store) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearMaskBuffer(Buffer buf,
int nBand)
Sets a band to NODATA value
|
Buffer |
query(RasterProvider provider) |
protected byte byteNoData
protected short shortNoData
protected int intNoData
protected float floatNoData
protected double doubleNoData
public FramedBufferResampling(DefaultRasterQuery q, RasterDataStore store)
public Buffer query(RasterProvider provider) throws QueryException, ProcessInterruptedException
protected void clearMaskBuffer(Buffer buf, int nBand)
bufResult
- tileExtent
- buf
- ex
- pixelSize
-