org.deegree.services.wms.model.layers
Class StatisticsLayer
java.lang.Object
org.deegree.services.wms.model.layers.Layer
org.deegree.services.wms.model.layers.FeatureLayer
org.deegree.services.wms.model.layers.StatisticsLayer
public class StatisticsLayer
- extends FeatureLayer
StatisticsLayer
- Version:
- $Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 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, getAbstract, getAuthorityIdentifier, getAuthorityURL, getChild, getChildren, getDataMetadataSetId, getDimensions, getInternalName, getKeywords, getParent, getScaleHint, getSrs, getTitle, isQueryable, paintMap, remove, render, setAbstract, setAuthorityIdentifier, setAuthorityURL, setBbox, setChildren, setInternalName, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle |
StatisticsLayer
public StatisticsLayer(MapService service,
Layer parent)
- Parameters:
parent
-
getFeatureType
public FeatureType getFeatureType()
- Overrides:
getFeatureType
in class FeatureLayer
- Returns:
- the feature type, or null, if not applicable
getFeatures
public Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi,
Style style)
throws WMSException.MissingDimensionValue,
WMSException.InvalidDimensionValue
- Overrides:
getFeatures
in class FeatureLayer
- Returns:
- a collection of matching features and a list of warning headers (currently only used for dimension
warnings)
- Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue
paintMap
public LinkedList<String> paintMap(Graphics2D g,
GetMap gm,
Style style)
throws WMSException.MissingDimensionValue,
WMSException.InvalidDimensionValue
- Overrides:
paintMap
in class FeatureLayer
- Returns:
- a list of warning headers (currently only used for dimension warnings)
- Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue
getName
public String getName()
- Overrides:
getName
in class Layer
- Returns:
- the name
getBbox
public Envelope getBbox()
- Overrides:
getBbox
in class FeatureLayer
- Returns:
- the bbox
isAvailable
public boolean isAvailable()
- Overrides:
isAvailable
in class FeatureLayer
- Returns:
- true if it's data source is currently available
close
public void close()
- Overrides:
close
in class FeatureLayer
Copyright © 2011. All Rights Reserved.