org.deegree.tools.coverage.gridifier.index
Class TileFile

java.lang.Object
  extended by org.deegree.tools.coverage.gridifier.index.TileFile

public class TileFile
extends Object

The TileFile class describes a TileFile in the filesystem rastertree.

Version:
$Revision: $, $Date: $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Method Summary
 boolean equals(Object o)
           
 String getDir()
           
 RasterGeoReference getEnvelope()
           
 String getFullFileName(String tileBaseDir)
           
 Envelope getGeoEnvelope()
           
 int getId()
           
 int getLevel()
           
 int hashCode()
           
 AbstractRaster loadRaster(String tileBaseDir)
          loads the raster
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getGeoEnvelope

public Envelope getGeoEnvelope()
Returns:
the envelope in world coordinates

getEnvelope

public RasterGeoReference getEnvelope()
Returns:
the raster reference of this tilefile

loadRaster

public AbstractRaster loadRaster(String tileBaseDir)
                          throws IOException
loads the raster

Parameters:
tileBaseDir -
Returns:
the loaded simpleraster
Throws:
IOException

getFullFileName

public String getFullFileName(String tileBaseDir)
Parameters:
tileBaseDir -
Returns:
the file name this tile is referencing

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getLevel

public int getLevel()
Returns:
the level

getDir

public String getDir()
Returns:
the directory

getId

public int getId()
Returns:
the id


Copyright © 2011. All Rights Reserved.