public final class RasterDatasetInfo extends Object
This is the single entry point to the metadata of a raster dataset. The associated classes
RasterInfo
and PyramidLevelInfo
are to be considered private to this class.
Constructor and Description |
---|
RasterDatasetInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getArcSDEPyramidLevel(Long rasterId,
int pyramidLevel)
Returns the actual ArcSDE pyramid level for the given raster and internal pyramid level, in
order to take into acount the fact that if the raster is registered with "skipLevelOne", we
don't hold any information for the arcsde pyramid level 1 of this raster.
|
RasterBandInfo |
getBand(int rasterIndex,
int bandIndex) |
IndexColorModel |
getColorMap(int rasterIndex) |
CoordinateReferenceSystem |
getCoverageCrs() |
GeneralEnvelope |
getGridEnvelope(int rasterIndex,
int pyramidLevel) |
GridEnvelope |
getGridRange(int rasterIndex,
int pyramidLevel) |
GridSampleDimension[] |
getGridSampleDimensions() |
int |
getImageHeight() |
int |
getImageWidth() |
RasterCellType |
getNativeCellType() |
Number |
getNoDataValue(int rasterIndex,
int bandIndex) |
Number |
getNoDataValue(long rasterId,
int bandIndex) |
List<Number> |
getNoDataValues(int rasterIndex) |
int |
getNumBands() |
int |
getNumPyramidLevels(int rasterIndex) |
int |
getNumRasters() |
int |
getNumTilesHigh(int rasterIndex,
int pyramidLevel) |
int |
getNumTilesWide(int rasterIndex,
int pyramidLevel) |
int |
getOptimalPyramidLevel(int rasterIndex,
OverviewPolicy policy,
GeneralEnvelope requestedEnvelope,
GridEnvelope requestedDim) |
GeneralEnvelope |
getOriginalEnvelope(PixelInCell pixelAnchor) |
GridEnvelope |
getOriginalGridRange() |
String[] |
getRasterColumns() |
Long |
getRasterId(int rasterIndex) |
int |
getRasterIndex(Long rasterId) |
String |
getRasterTable() |
MathTransform |
getRasterToModel() |
MathTransform |
getRasterToModel(int rasterIndex,
int pyramidLevel) |
ImageTypeSpecifier |
getRenderedImageSpec(int rasterIndex) |
ImageTypeSpecifier |
getRenderedImageSpec(long rasterId) |
double[] |
getResolution(int rasterN,
int pyramidLevel) |
RasterCellType |
getTargetCellType(int rasterIndex) |
RasterCellType |
getTargetCellType(long rasterId) |
Dimension |
getTileDimension(int rasterIndex) |
Dimension |
getTileDimension(long rasterId) |
int |
getTileHeight(long rasterId) |
int |
getTileWidth(long rasterId) |
boolean |
isColorMapped() |
void |
setPyramidInfo(List<RasterInfo> pyramidInfo) |
String |
toString() |
public String getRasterTable()
public String[] getRasterColumns()
public void setPyramidInfo(List<RasterInfo> pyramidInfo)
pyramidInfo
- the pyramidInfo to setpublic GridSampleDimension[] getGridSampleDimensions()
public int getNumBands()
public int getImageWidth()
public int getImageHeight()
public CoordinateReferenceSystem getCoverageCrs()
public GridEnvelope getOriginalGridRange()
public MathTransform getRasterToModel()
public MathTransform getRasterToModel(int rasterIndex, int pyramidLevel)
public GeneralEnvelope getOriginalEnvelope(PixelInCell pixelAnchor)
pixelAnchor
- public int getNumRasters()
public RasterBandInfo getBand(int rasterIndex, int bandIndex)
public int getNumPyramidLevels(int rasterIndex)
public GeneralEnvelope getGridEnvelope(int rasterIndex, int pyramidLevel)
public GridEnvelope getGridRange(int rasterIndex, int pyramidLevel)
public int getNumTilesWide(int rasterIndex, int pyramidLevel)
public int getNumTilesHigh(int rasterIndex, int pyramidLevel)
public int getTileWidth(long rasterId)
public int getTileHeight(long rasterId)
public Dimension getTileDimension(long rasterId)
public Dimension getTileDimension(int rasterIndex)
public ImageTypeSpecifier getRenderedImageSpec(long rasterId)
public ImageTypeSpecifier getRenderedImageSpec(int rasterIndex)
public IndexColorModel getColorMap(int rasterIndex)
public boolean isColorMapped()
public RasterCellType getNativeCellType()
public RasterCellType getTargetCellType(int rasterIndex)
public RasterCellType getTargetCellType(long rasterId)
public Long getRasterId(int rasterIndex)
public int getOptimalPyramidLevel(int rasterIndex, OverviewPolicy policy, GeneralEnvelope requestedEnvelope, GridEnvelope requestedDim)
public int getRasterIndex(Long rasterId)
public double[] getResolution(int rasterN, int pyramidLevel)
public Number getNoDataValue(long rasterId, int bandIndex)
public Number getNoDataValue(int rasterIndex, int bandIndex)
public List<Number> getNoDataValues(int rasterIndex)
rasterIndex
- the raster for which bands to return the no data valuesrasterIndex
public int getArcSDEPyramidLevel(Long rasterId, int pyramidLevel)
Copyright © 1996–2019 Geotools. All rights reserved.