deegree 2.5 (2011/06/29 09:44 build-8-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(java.lang.String name, CoordinateSystem crs, CoverageOffering coverageOffering)
           
LazyRasterLayer(java.lang.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(java.lang.String name,
                       CoverageOffering coverageOffering)
                throws java.lang.Exception
Parameters:
name -
coverageOffering -
Throws:
java.lang.Exception

LazyRasterLayer

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

setCoordinatesSystem

public void setCoordinatesSystem(CoordinateSystem crs)
                          throws java.lang.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:
java.lang.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,
                              java.io.IOException
Parameters:
envelope -
resolution -
Returns:
grid coverage for envelope and resolution
Throws:
java.io.IOException
InvalidParameterValueException

deegree 2.5 (2011/06/29 09:44 build-8-official)

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