org.deegree.coverage.raster.container
Class DiskBasedTileContainer

java.lang.Object
  extended by org.deegree.coverage.raster.container.DiskBasedTileContainer
All Implemented Interfaces:
TileContainer

public class DiskBasedTileContainer
extends Object
implements TileContainer

Version:
$Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
DiskBasedTileContainer(File file)
           
DiskBasedTileContainer(RasterBuilder.QTreeInfo info, List<File> files, List<AbstractRaster> rasters, RasterIOOptions options)
           
 
Method Summary
 void export(File file)
           
 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.
 boolean isInitialized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskBasedTileContainer

public DiskBasedTileContainer(RasterBuilder.QTreeInfo info,
                              List<File> files,
                              List<AbstractRaster> rasters,
                              RasterIOOptions options)
Parameters:
info -
files -
rasters -
options -

DiskBasedTileContainer

public DiskBasedTileContainer(File file)
Parameters:
file -
Method Detail

getEnvelope

public Envelope getEnvelope()
Description copied from interface: TileContainer
Returns the envelope of all tiles in this container.

Specified by:
getEnvelope in interface TileContainer
Returns:
The envelope of all tiles.

getRasterDataInfo

public RasterDataInfo getRasterDataInfo()
Description copied from interface: TileContainer
Return the first tile of this container. First is implementation status.

Specified by:
getRasterDataInfo in interface TileContainer
Returns:
the first tile in the container

getRasterReference

public RasterGeoReference getRasterReference()
Description copied from interface: TileContainer
Returns the RasterReference of all tiles in this container.

Specified by:
getRasterReference in interface TileContainer
Returns:
The raster envelope of the tiles.

getResolutionInfo

public ResolutionInfo getResolutionInfo()
Specified by:
getResolutionInfo in interface TileContainer
Returns:
the information about the resolution

isInitialized

public boolean isInitialized()
Returns:
false, if loading from file failed

getTiles

public List<AbstractRaster> getTiles(Envelope env)
Description copied from interface: TileContainer
Returns all tiles that intersects the envelope.

Specified by:
getTiles in interface TileContainer
Parameters:
env - return List with tiles
Returns:
A List with all intersecting tiles.

export

public void export(File file)
Parameters:
file -


Copyright © 2011. All Rights Reserved.