org.deegree.graphics
Class OWSRasterLayer
java.lang.Object
org.deegree.graphics.AbstractLayer
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 $
Constructor Summary |
OWSRasterLayer(java.lang.String name,
java.net.URL baseURL)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWSRasterLayer
public OWSRasterLayer(java.lang.String name,
java.net.URL baseURL)
throws java.lang.Exception
- Parameters:
name
- baseURL
-
- Throws:
java.lang.Exception
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 imageh
- height of image
- Returns:
- grid coverage for envelope and size
- Throws:
java.io.IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org