org.deegree.services.wms.model.layers
Class RasterLayer

java.lang.Object
  extended by org.deegree.services.wms.model.layers.Layer
      extended by org.deegree.services.wms.model.layers.RasterLayer

public class RasterLayer
extends Layer

RasterLayer

Version:
$Revision: 27968 $, $Date: 2010-11-10 11:40:27 +0100 (Mi, 10. Nov 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
RasterLayer(AbstractLayerType lay, Layer parent)
           
 
Method Summary
static Layer createRasterLayer(AbstractLayerType lay, Layer parent)
           
 org.deegree.geometry.Envelope getBbox()
           
 org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi, org.deegree.rendering.r2d.se.unevaluated.Style style)
           
 org.deegree.feature.types.FeatureType getFeatureType()
           
 boolean isAvailable()
           
 java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g, GetMap gm, org.deegree.rendering.r2d.se.unevaluated.Style style)
           
 java.lang.String toString()
           
 
Methods inherited from class org.deegree.services.wms.model.layers.Layer
addOrReplace, close, getAbstract, getChild, getChildren, getDimensions, getInternalName, getKeywords, getName, getParent, getScaleHint, getSrs, getTitle, isQueryable, paintMap, remove, render, setAbstract, setBbox, setChildren, setInternalName, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RasterLayer

public RasterLayer(AbstractLayerType lay,
                   Layer parent)
Parameters:
lay -
parent -
Method Detail

createRasterLayer

public static Layer createRasterLayer(AbstractLayerType lay,
                                      Layer parent)
                               throws java.net.MalformedURLException
Parameters:
lay -
parent -
Returns:
a RasterLayer or WMSLayer, depending on what's configured
Throws:
java.net.MalformedURLException

getFeatureType

public org.deegree.feature.types.FeatureType getFeatureType()
Specified by:
getFeatureType in class Layer
Returns:
the feature type, or null, if not applicable

isAvailable

public boolean isAvailable()
Overrides:
isAvailable in class Layer
Returns:
true if it's data source is currently available

getFeatures

public org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi,
                                                                                                                                org.deegree.rendering.r2d.se.unevaluated.Style style)
                                                                                                                         throws WMSException.MissingDimensionValue,
                                                                                                                                WMSException.InvalidDimensionValue
Specified by:
getFeatures in class Layer
Returns:
a collection of matching features and a list of warning headers (currently only used for dimension warnings)
Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue

getBbox

public org.deegree.geometry.Envelope getBbox()
Overrides:
getBbox in class Layer
Returns:
the bbox

paintMap

public java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g,
                                                       GetMap gm,
                                                       org.deegree.rendering.r2d.se.unevaluated.Style style)
                                                throws WMSException.MissingDimensionValue,
                                                       WMSException.InvalidDimensionValue
Specified by:
paintMap in class Layer
Returns:
a list of warning headers (currently only used for dimension warnings)
Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.