|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectRasterInfo
public final class RasterInfo
A RasterInfo gathers the metadata for a single raster in a raster dataset
Basically, it wraps the SeRasterAttr object and implements some convenience methods for doing calculations with it.
Method Summary | |
---|---|
void |
addPyramidLevel(int level,
int numTilesWide,
int numTilesHigh,
GridEnvelope gridEnvelope,
GeneralEnvelope spatialExtent)
|
RasterBandInfo |
getBand(int index)
|
List<RasterBandInfo> |
getBands()
|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
|
RasterCellType |
getNativeCellType()
|
List<Number> |
getNoDataValues()
|
int |
getNumBands()
|
int |
getNumLevels()
|
int |
getOptimalPyramidLevel(OverviewPolicy policy,
double[] requestedRes)
Returns the optimal pyramid level for the requested resolution, ignoring pyramid level 1 if SeRasterAttr.skipLevelOne() was true . |
GeneralEnvelope |
getOriginalEnvelope()
|
PyramidLevelInfo |
getPyramidLevel(int level)
|
Long |
getRasterId()
|
RasterCellType |
getTargetCellType()
|
Dimension |
getTileDimension()
|
int |
getTileHeight()
|
int |
getTileWidth()
|
boolean |
isColorMapped()
|
boolean |
isSkipLevelOne()
|
void |
setBands(List<RasterBandInfo> bands)
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Long getRasterId()
public int getTileWidth()
public int getTileHeight()
public Dimension getTileDimension()
public PyramidLevelInfo getPyramidLevel(int level)
public int getNumLevels()
public int getOptimalPyramidLevel(OverviewPolicy policy, double[] requestedRes)
SeRasterAttr.skipLevelOne()
was true
.
NOTE: logic stolen and adapted from AbstractGridCoverage2DReader#getOverviewImage()
policy
-
public void addPyramidLevel(int level, int numTilesWide, int numTilesHigh, GridEnvelope gridEnvelope, GeneralEnvelope spatialExtent)
public GeneralEnvelope getOriginalEnvelope()
public void setBands(List<RasterBandInfo> bands)
public List<RasterBandInfo> getBands()
public int getNumBands()
public RasterBandInfo getBand(int index)
public CoordinateReferenceSystem getCoordinateReferenceSystem()
public RasterCellType getTargetCellType()
public boolean isColorMapped()
public RasterCellType getNativeCellType()
public List<Number> getNoDataValues()
public String toString()
toString
in class Object
public boolean isSkipLevelOne()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |