deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.graphics
Class RasterLayer

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

 class RasterLayer
extends AbstractLayer

A RasterLayer represent a layer which data are contained within one single Image. The image/raster is geo-referenced by a Envelope that is linked to it.

------------------------------------------------------------------------

Version:
$Revision: 9340 $ $Date: 2007-12-27 13:32:12 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth

Field Summary
protected  GridCoverage raster
           
 
Fields inherited from class org.deegree.graphics.AbstractLayer
boundingbox, cs, eventController
 
Constructor Summary
RasterLayer(String name, GridCoverage raster)
          Creates a new AbstractLayer object.
 
Method Summary
 GridCoverage getRaster()
          returns the image/raster that represents the layers data
 void setCoordinatesSystem(CoordinateSystem crs)
          sets the coordinate reference system of the MapView.
 void setRaster(GridCoverage raster)
          sets the image/raster that represents the layers data
 
Methods inherited from class org.deegree.graphics.AbstractLayer
addEventController, getBoundingBox, getCoordinatesSystem, getName, removeEventController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

raster

protected GridCoverage raster
Constructor Detail

RasterLayer

RasterLayer(String name,
            GridCoverage raster)
      throws Exception
Creates a new AbstractLayer object.

Parameters:
name -
raster -
Throws:
Exception
Method Detail

setCoordinatesSystem

public void setCoordinatesSystem(CoordinateSystem crs)
                          throws Exception
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.

Throws:
Exception

getRaster

public GridCoverage getRaster()
returns the image/raster that represents the layers data


setRaster

public void setRaster(GridCoverage raster)
               throws Exception
sets the image/raster that represents the layers data

Throws:
Exception

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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