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

org.deegree.graphics
Class OWSRasterLayer

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

public class OWSRasterLayer
extends AbstractLayer

Version:
$Revision: 19454 $, $Revision: 19454 $, $Date: 2009-09-01 14:27:33 +0200 (Di, 01. Sep 2009) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Field Summary
 
Fields inherited from class org.deegree.graphics.AbstractLayer
boundingbox, cs, eventController
 
Constructor Summary
OWSRasterLayer(String name, URL baseURL)
           
 
Method Summary
 Envelope getBoundingBox()
          returns the BoundingBox (Envelope) of Layer.
 GridCoverage getRaster(Envelope envelope, double w, double h)
           
 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

OWSRasterLayer

public OWSRasterLayer(String name,
                      URL baseURL)
               throws Exception
Parameters:
name -
baseURL -
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 w,
                              double h)
                       throws IOException
Parameters:
envelope -
w - width of image
h - height of image
Returns:
grid coverage for envelope and size
Throws:
IOException

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