deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wcs.configuration
Class GridDirectory

java.lang.Object
  extended by org.deegree.ogcwebservices.wcs.configuration.CoverageSource
      extended by org.deegree.ogcwebservices.wcs.configuration.Directory
          extended by org.deegree.ogcwebservices.wcs.configuration.GridDirectory

public class GridDirectory
extends Directory

An instance of GridDirectory describes a directory in the file system containing grid coverages within the envelope assigned to the Directory. The name of the Directory may is build from variable indicated by a leadin '$' (e.g. C:/rasterdata/luftbilder/775165/$YEAR/$MONTH/$DAY/$ELEVATION/l0.5) in this case the variable parts of the name can be replaced by an application with concrete values. It is in the responsibility of the application to use valid values for the variables. Known variable names are:

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
GridDirectory(String name, Envelope envelope, CoordinateSystem crs, double tileWidth, double tileHeight)
          file extentions will be empty. this will cause that all files in the directory will be recognized
GridDirectory(String name, Envelope envelope, CoordinateSystem crs, String[] fileExtensions, double tileWidth, double tileHeight)
           
 
Method Summary
 double getTileHeight()
           
 double getTileWidth()
           
 void setTileHeight(double tileHeight)
           
 void setTileWidth(double tileWidth)
           
 
Methods inherited from class org.deegree.ogcwebservices.wcs.configuration.Directory
getEnvelope, getFileExtensions, getName, setEnvelope, setFileExtensions, setName
 
Methods inherited from class org.deegree.ogcwebservices.wcs.configuration.CoverageSource
getCrs, setCrs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridDirectory

public GridDirectory(String name,
                     Envelope envelope,
                     CoordinateSystem crs,
                     double tileWidth,
                     double tileHeight)
file extentions will be empty. this will cause that all files in the directory will be recognized

Parameters:
name - name of the directory
envelope - enclosing envelope of the tiles in the directory
crs - CRS of the data
tileWidth - width (pixels) of the files in the directory
tileHeight - height (pixels) of the files in the directory

GridDirectory

public GridDirectory(String name,
                     Envelope envelope,
                     CoordinateSystem crs,
                     String[] fileExtensions,
                     double tileWidth,
                     double tileHeight)
Parameters:
name - name of the directory
envelope - enclosing envelope of the tiles in the directory
crs - CRS of the data
fileExtensions - list of reconized file extensions
tileWidth - width (pixels) of the files in the directory
tileHeight - height (pixels) of the files in the directory
Method Detail

getTileHeight

public double getTileHeight()
Returns:
Returns the tileHeight.

setTileHeight

public void setTileHeight(double tileHeight)
Parameters:
tileHeight - The tileHeight to set.

getTileWidth

public double getTileWidth()
Returns:
Returns the tileWidth.

setTileWidth

public void setTileWidth(double tileWidth)
Parameters:
tileWidth - The tileWidth to set.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org