|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.graphics.AbstractLayer
org.deegree.graphics.RasterLayer
class RasterLayer
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.
------------------------------------------------------------------------
Field Summary | |
---|---|
protected GridCoverage |
raster
The raster of the layer |
Fields inherited from class org.deegree.graphics.AbstractLayer |
---|
boundingbox, cs, eventController |
Constructor Summary | |
---|---|
RasterLayer(String name,
GridCoverage raster)
Creates a new AbstractLayer object. |
|
RasterLayer(String name,
GridCoverage raster,
GetMap request)
|
Method Summary | |
---|---|
GridCoverage |
getRaster()
returns the image/raster that represents the layers data |
(package private) GetMap |
getRequest()
|
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, isValid, removeEventController |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GridCoverage raster
Constructor Detail |
---|
RasterLayer(String name, GridCoverage raster) throws Exception
name
- raster
-
Exception
RasterLayer(String name, GridCoverage raster, GetMap request) throws Exception
Exception
Method Detail |
---|
public void setCoordinatesSystem(CoordinateSystem crs) throws Exception
crs
- to set
Exception
- if something went wrongpublic GridCoverage getRaster()
GetMap getRequest()
public void setRaster(GridCoverage raster) throws Exception
raster
- the image/raster that represents the layers data
Exception
- if the bbox of the layer could not be calculated
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org