org.deegree.coverage.raster.container
Class GriddedMemoryTileContainer
java.lang.Object
org.deegree.coverage.raster.container.GriddedTileContainer
org.deegree.coverage.raster.container.GriddedMemoryTileContainer
- All Implemented Interfaces:
- TileContainer
public class GriddedMemoryTileContainer
- extends GriddedTileContainer
Concrete implementation of GriddedTileContainer
that keeps the tiles in memory.
- Version:
- $Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GriddedMemoryTileContainer
public GriddedMemoryTileContainer(RasterGeoReference.OriginLocation location,
Envelope envelope,
int rows,
int columns,
int tileSamplesX,
int tileSamplesY,
AbstractRaster[] cells)
- The memory based gridded tile container.
- Parameters:
location
- envelope
- rows
- columns
- tileSamplesX
- tileSamplesY
- cells
-
getTile
public AbstractRaster getTile(int rowId,
int columnId)
- Description copied from class:
GriddedTileContainer
- Returns the raster tile at the given grid position.
- Specified by:
getTile
in class GriddedTileContainer
- Parameters:
rowId
- row id, must in the range [0 ... #rows - 1]columnId
- column id, must be in the range [0 ... #columns - 1]
- Returns:
- the raster tile at the given grid position
create
public static GriddedMemoryTileContainer create(GriddedTileContainer orig)
throws IOException
- Creates an in-memory gridded tile container from the given tile container.
- Parameters:
orig
-
- Returns:
- an in-memory gridded tile container.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.