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

org.deegree.graphics
Class LazyRasterLayer

java.lang.Object
  extended by org.deegree.graphics.AbstractLayer
      extended by org.deegree.graphics.LazyRasterLayer
All Implemented Interfaces:
Layer

public class LazyRasterLayer
extends AbstractLayer

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

Field Summary
 
Fields inherited from class org.deegree.graphics.AbstractLayer
boundingbox, cs, eventController
 
Constructor Summary
LazyRasterLayer(String name, CoordinateSystem crs, CoverageOffering coverageOffering)
           
LazyRasterLayer(String name, CoverageOffering coverageOffering)
           
 
Method Summary
 Envelope getBoundingBox()
          returns the BoundingBox (Envelope) of Layer.
 GridCoverage getRaster(Envelope envelope, double resolution)
           
 void setCoordinatesSystem(CoordinateSystem crs)
          sets the coordinate reference system of the MapView.
 
Methods inherited from class org.deegree.graphics.AbstractLayer
addEventController, getCoordinatesSystem, getName, isValid, removeEventController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyRasterLayer

public LazyRasterLayer(String name,
                       CoverageOffering coverageOffering)
                throws Exception
Parameters:
name -
coverageOffering -
Throws:
Exception

LazyRasterLayer

public LazyRasterLayer(String name,
                       CoordinateSystem crs,
                       CoverageOffering coverageOffering)
                throws Exception
Parameters:
name -
crs -
coverageOffering -
Throws:
Exception
Method Detail

setCoordinatesSystem

public void setCoordinatesSystem(CoordinateSystem crs)
                          throws Exception
Description copied from interface: Layer
sets the coordinate reference system of the MapView. If a new crs is set all geometries of GeometryFeatures will be transformed to the new coordinate reference system.

Parameters:
crs -
Throws:
Exception

getBoundingBox

public Envelope getBoundingBox()
Description copied from class: AbstractLayer
returns the BoundingBox (Envelope) of Layer. This is the BoundingBox of the layers data. The BoundingBox of the View maybe larger or smaller

Specified by:
getBoundingBox in interface Layer
Overrides:
getBoundingBox in class AbstractLayer
Returns:
the BoundingBox (Envelope) of Layer

getRaster

public GridCoverage getRaster(Envelope envelope,
                              double resolution)
                       throws InvalidParameterValueException,
                              IOException
Parameters:
envelope -
resolution -
Returns:
grid coverage for envelope and resolution
Throws:
IOException
InvalidParameterValueException

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