|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.container.GriddedTileContainer
org.deegree.coverage.raster.container.GriddedBlobTileContainer
public class GriddedBlobTileContainer
Concrete implementation of GriddedTileContainer that extracts the tiles from a blob with a custom format. See
d3_tools/RasterTreeGridifier on how to create the format.
| Field Summary | |
|---|---|
static java.lang.String |
BLOB_FILE_EXT
extension of a blob file. |
static java.lang.String |
BLOB_FILE_NAME
name of a blob file. |
| Fields inherited from class org.deegree.coverage.raster.container.GriddedTileContainer |
|---|
tileSamplesX, tileSamplesY |
| Constructor Summary | |
|---|---|
GriddedBlobTileContainer(java.io.File blobFile,
GridMetaInfoFile metaInfoFile)
A gridded tile container which reads data from a deegree internal format. |
|
GriddedBlobTileContainer(GridMetaInfoFile metaInfoFile,
java.io.File blobDir)
A gridded tile container which reads data from a deegree internal format. |
|
| Method Summary | |
|---|---|
static GriddedBlobTileContainer |
create(java.io.File dir,
RasterIOOptions options)
Reads the index file, 'gridded_raster.info' from the given directory reads the world file information as well as the number of tiles. |
AbstractRaster |
getTile(int rowId,
int columnId)
Returns the raster tile at the given grid position. |
| Methods inherited from class org.deegree.coverage.raster.container.GriddedTileContainer |
|---|
getColumns, getEnvelope, getRasterDataInfo, getRasterReference, getResolutionInfo, getRows, getTileEnvelope, getTileId, getTiles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BLOB_FILE_NAME
public static final java.lang.String BLOB_FILE_EXT
| Constructor Detail |
|---|
public GriddedBlobTileContainer(GridMetaInfoFile metaInfoFile,
java.io.File blobDir)
throws java.io.IOException
metaInfoFile - encapsulating the values read from the grid meta info file.blobDir -
java.io.IOException
public GriddedBlobTileContainer(java.io.File blobFile,
GridMetaInfoFile metaInfoFile)
throws java.io.IOException
blobFile - to read the tiles from.metaInfoFile -
java.io.IOException| Method Detail |
|---|
public static GriddedBlobTileContainer create(java.io.File dir,
RasterIOOptions options)
throws java.io.IOException
dir - to read the gridded_raster.infooptions - which will hold information on the file.
GriddedBlobTileContainer instantiated with the values read from the gridded_raster.info.
java.io.IOException
public AbstractRaster getTile(int rowId,
int columnId)
GriddedTileContainer
getTile in class GriddedTileContainerrowId - row id, must in the range [0 ... #rows - 1]columnId - column id, must be in the range [0 ... #columns - 1]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||