|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 tiles| Method Detail |
|---|
public void addTile(AbstractRaster raster)
raster - new tilepublic List<AbstractRaster> getTiles(Envelope env)
TileContainer
getTiles in interface TileContainerenv - return List with tiles
List with all intersecting tiles.public Envelope getEnvelope()
TileContainer
getEnvelope in interface TileContainerpublic RasterGeoReference getRasterReference()
TileContainer
getRasterReference in interface TileContainerpublic String toString()
toString in class Objectpublic RasterDataInfo getRasterDataInfo()
TileContainer
getRasterDataInfo in interface TileContainerpublic ResolutionInfo getResolutionInfo()
getResolutionInfo in interface TileContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||