public class TileDownloaderForFiles extends BaseTileDownloader
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
extension |
protected CacheStruct |
struct |
byteNoData, doubleNoData, floatNoData, intNoData, shortNoData, store, tilePxHeight, tilePxWidth| Constructor and Description |
|---|
TileDownloaderForFiles(RasterDataStore store,
CacheStruct struct,
int tileWidth,
int tileHeight,
java.lang.String extension) |
| Modifier and Type | Method and Description |
|---|---|
protected Buffer |
buildTileBuffer(int nbands,
int w,
int h)
Builds a buffer using the specified number of bands and initialize it
|
Tile |
downloadTile(Tile tile) |
boolean |
isInternalTile(int bufWidth,
int bufHeight) |
protected Buffer |
readSupersampledBuffer(Extent tileExtent,
int bufWidth,
int bufHeight,
boolean hasAlphaBand)
When the buffer of the request is greater than the original raster (> scale 1:1) then the request
has to be resampled.
|
clearMaskBuffer, getCrashImage, getDownloadingImage, getTileSize, readTileFromDisk, saveTile, setNoDataValuepublic TileDownloaderForFiles(RasterDataStore store, CacheStruct struct, int tileWidth, int tileHeight, java.lang.String extension)
public Tile downloadTile(Tile tile)
throws TileGettingException
TileGettingExceptionpublic boolean isInternalTile(int bufWidth,
int bufHeight)
protected Buffer readSupersampledBuffer(Extent tileExtent, int bufWidth, int bufHeight, boolean hasAlphaBand) throws ProcessInterruptedException, QueryException, TileGettingException
tileExtent - newBandList - bufWidth - bufHeight - nBands - ProcessInterruptedExceptionTileGettingExceptionQueryExceptionprotected Buffer buildTileBuffer(int nbands, int w, int h)
nbands -