@Deprecated public class TLcdGRIBTileDecoder extends ALcdTileDecoder implements ILcdTileDecoder
ILcdTileDecoder
decodes GRIB files.Modifier and Type | Field and Description |
---|---|
static int |
AVERAGE
Deprecated.
The sampling strategy that returns the average value of the corners of
each DTED sample cell.
|
static int |
EXTENDED
Deprecated.
The sampling strategy that returns all values of the DTED tile, including
the extra last row and the last column.
|
static int |
MAXIMUM
Deprecated.
The sampling strategy that returns the maximum value of the corners of
each DTED sample cell.
|
static int |
MINIMUM
Deprecated.
The sampling strategy that returns the minimum value of the corners of
each DTED sample cell.
|
static int |
NORTH_EAST_CORNER
Deprecated.
The sampling strategy that returns the North-East corner of each DTED
sample cell.
|
static int |
NORTH_WEST_CORNER
Deprecated.
The sampling strategy that returns the North-West corner of each DTED
sample cell.
|
static int |
SOUTH_EAST_CORNER
Deprecated.
The sampling strategy that returns the South-East corner of each DTED
sample cell.
|
static int |
SOUTH_WEST_CORNER
Deprecated.
The sampling strategy that returns the South-West corner of each DTED
sample cell.
|
static int |
UNKNOWN_VALUE
Deprecated.
The tile value representing unknown GRIB values.
|
Constructor and Description |
---|
TLcdGRIBTileDecoder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getSampleStrategy()
Deprecated.
Returns the sample strategy.
|
protected ILcdTileInfo |
readTileFromStream(InputStream aInputStream,
int aImageIndex,
int aSubTileWidth,
int aSubTileHeight,
int aSubTileRowIndex,
int aSubTileColumnIndex,
ILcdBuffer aBuffer)
Deprecated.
Reads a sub-tile from an input stream.
|
void |
setSampleStrategy(int aSampleStrategy)
Deprecated.
Sets the sample strategy.
|
getInputStreamFactory, isTraceOn, readTile, readTile, setClassTraceOn, setInputStreamFactory, setTraceOn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readTile, readTile
public static final int UNKNOWN_VALUE
public static final int NORTH_WEST_CORNER
public static final int SOUTH_WEST_CORNER
public static final int NORTH_EAST_CORNER
public static final int SOUTH_EAST_CORNER
public static final int MINIMUM
public static final int MAXIMUM
public static final int AVERAGE
public static final int EXTENDED
public void setSampleStrategy(int aSampleStrategy)
aSampleStrategy
- one of
NORTH_WEST_CORNER
,
SOUTH_WEST_CORNER
,
NORTH_EAST_CORNER
,
SOUTH_EAST_CORNER
,
MINIMUM
,
MAXIMUM
,
AVERAGE
, or
EXTENDED
.getSampleStrategy()
public int getSampleStrategy()
setSampleStrategy(int)
protected ILcdTileInfo readTileFromStream(InputStream aInputStream, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aSubTileRowIndex, int aSubTileColumnIndex, ILcdBuffer aBuffer) throws TLcdCodecException
ALcdTileDecoder
readTileFromStream
in class ALcdTileDecoder
aInputStream
- the input stream from which the tile data can be read.aImageIndex
- the index of the tile in the given input stream (if applicable).aSubTileWidth
- the width of the sub-tiles, expressed in pixels.aSubTileHeight
- the height of the sub-tiles, expressed in pixels.aSubTileRowIndex
- the row number of the sub-tile to be decoded.aSubTileColumnIndex
- the column number of the sub-tile to be decoded.aBuffer
- the buffer in which the decoded bytes will be stored.ILcdTileInfo
information about the decoded tile.TLcdCodecException
- in case of decoding problems.