|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 String |
BLOB_FILE_EXT
extension of a blob file. |
static String |
BLOB_FILE_NAME
name of a blob file. |
Fields inherited from class org.deegree.coverage.raster.container.GriddedTileContainer |
---|
tileSamplesX, tileSamplesY |
Constructor Summary | |
---|---|
GriddedBlobTileContainer(File blobFile,
GridMetaInfoFile metaInfoFile)
A gridded tile container which reads data from a deegree internal format. |
|
GriddedBlobTileContainer(GridMetaInfoFile metaInfoFile,
File blobDir)
A gridded tile container which reads data from a deegree internal format. |
Method Summary | |
---|---|
static GriddedBlobTileContainer |
create(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 String BLOB_FILE_NAME
public static final String BLOB_FILE_EXT
Constructor Detail |
---|
public GriddedBlobTileContainer(GridMetaInfoFile metaInfoFile, File blobDir) throws IOException
metaInfoFile
- encapsulating the values read from the grid meta info file.blobDir
-
IOException
public GriddedBlobTileContainer(File blobFile, GridMetaInfoFile metaInfoFile) throws IOException
blobFile
- to read the tiles from.metaInfoFile
-
IOException
Method Detail |
---|
public static GriddedBlobTileContainer create(File dir, RasterIOOptions options) throws 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.
IOException
public AbstractRaster getTile(int rowId, int columnId)
GriddedTileContainer
getTile
in class GriddedTileContainer
rowId
- 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 |