org.deegree.tools.coverage.gridifier.index
Class TileFile
java.lang.Object
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 $
|
Constructor Summary |
TileFile(int id,
int level,
org.deegree.geometry.Envelope env,
String dir,
String fileName,
float xRes,
float yRes,
org.deegree.coverage.raster.geom.RasterGeoReference.OriginLocation location)
|
TileFile
TileFile(int id,
int level,
org.deegree.geometry.Envelope env,
String dir,
String fileName,
float xRes,
float yRes,
org.deegree.coverage.raster.geom.RasterGeoReference.OriginLocation location)
getGeoEnvelope
public org.deegree.geometry.Envelope getGeoEnvelope()
- Returns:
- the envelope in world coordinates
getEnvelope
public org.deegree.coverage.raster.geom.RasterGeoReference getEnvelope()
- Returns:
- the raster reference of this tilefile
intersects
boolean intersects(org.deegree.geometry.Envelope env)
loadRaster
public org.deegree.coverage.raster.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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>