org.deegree.services.wms.model.layers
Class RasterLayer
java.lang.Object
org.deegree.services.wms.model.layers.Layer
org.deegree.services.wms.model.layers.RasterLayer
public class RasterLayer
- extends Layer
RasterLayer
- Version:
- $Revision: 31653 $, $Date: 2011-08-25 13:19:01 +0200 (Thu, 25 Aug 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Fields inherited from class org.deegree.services.wms.model.layers.Layer |
service |
Methods inherited from class org.deegree.services.wms.model.layers.Layer |
addOrReplace, close, getAbstract, getAuthorityIdentifier, getAuthorityURL, getChild, getChildren, getDataMetadataSetId, getDimensions, getInternalName, getKeywords, getName, getParent, getScaleHint, getSrs, getTitle, isQueryable, paintMap, remove, render, setAbstract, setAuthorityIdentifier, setAuthorityURL, setBbox, setChildren, setInternalName, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle |
RasterLayer
public RasterLayer(MapService service,
AbstractLayerType lay,
Layer parent)
- Parameters:
lay
- parent
-
getFeatureType
public 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 Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi,
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 Envelope getBbox()
- Overrides:
getBbox
in class Layer
- Returns:
- the bbox
paintMap
public LinkedList<String> paintMap(Graphics2D g,
GetMap gm,
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 String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.