|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.raster.container.MemoryTileContainer
public class MemoryTileContainer
This TileContainer keeps all tiles (AbstractRaster) in memory.
Use this container for tiles with a few thousand or less tiles. The AbstractRaster should be loaded with a LAZY or
CACHED LoadingPolicy (see RasterFactory
).
Constructor Summary | |
---|---|
MemoryTileContainer(AbstractRaster... abstractRasters)
Creates a MemoryTileContainer with given tiles. |
|
MemoryTileContainer(List<AbstractRaster> abstractRasters)
Creates a MemoryTileContainer with given tiles. |
|
MemoryTileContainer(RasterGeoReference geoRasterRef,
Envelope envelope)
Creates a MemoryTileContainer with no tiles. |
|
MemoryTileContainer(RasterGeoReference geoRasterRef,
Envelope envelope,
RasterDataInfo rasterDataInfo)
|
Method Summary | |
---|---|
void |
addTile(AbstractRaster raster)
Adds a new tile to the container. |
Envelope |
getEnvelope()
Returns the envelope of all tiles in this container. |
RasterDataInfo |
getRasterDataInfo()
Return the first tile of this container. |
RasterGeoReference |
getRasterReference()
Returns the RasterReference of all tiles in this container. |
ResolutionInfo |
getResolutionInfo()
|
List<AbstractRaster> |
getTiles(Envelope env)
Returns all tiles that intersects the envelope. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MemoryTileContainer(RasterGeoReference geoRasterRef, Envelope envelope, RasterDataInfo rasterDataInfo)
geoRasterRef
- of this tile containerenvelope
- of this tile container.rasterDataInfo
- public MemoryTileContainer(RasterGeoReference geoRasterRef, Envelope envelope)
geoRasterRef
- of this tile containerenvelope
- of this tile container.public MemoryTileContainer(AbstractRaster... abstractRasters)
abstractRasters
- one or more tilespublic MemoryTileContainer(List<AbstractRaster> abstractRasters)
abstractRasters
- one or more tilesMethod Detail |
---|
public void addTile(AbstractRaster raster)
raster
- new tilepublic List<AbstractRaster> getTiles(Envelope env)
TileContainer
getTiles
in interface TileContainer
env
- return List with tiles
List
with all intersecting tiles.public Envelope getEnvelope()
TileContainer
getEnvelope
in interface TileContainer
public RasterGeoReference getRasterReference()
TileContainer
getRasterReference
in interface TileContainer
public String toString()
toString
in class Object
public RasterDataInfo getRasterDataInfo()
TileContainer
getRasterDataInfo
in interface TileContainer
public ResolutionInfo getResolutionInfo()
getResolutionInfo
in interface TileContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |