deegree 2.5 (2011/06/29 09:44 build-8-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(java.lang.String name, java.net.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(java.lang.String name,
                      java.net.URL baseURL)
               throws java.lang.Exception
Parameters:
name -
baseURL -
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 w,
                              double h)
                       throws java.io.IOException
Parameters:
envelope -
w - width of image
h - height of image
Returns:
grid coverage for envelope and size
Throws:
java.io.IOException

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