org.deegree.services.wms.model.layers
Class DynamicSQLLayer
java.lang.Object
org.deegree.services.wms.model.layers.Layer
org.deegree.services.wms.model.layers.DynamicSQLLayer
public class DynamicSQLLayer
- extends Layer
DynamicSQLLayer
- Version:
- $Revision: 26929 $, $Date: 2010-09-22 17:27:47 +0200 (Mi, 22. Sep 2010) $
- Author:
- Andreas Schmitz, last edited by: $Author: mschneider $
Constructor Summary |
DynamicSQLLayer(java.lang.String name,
java.lang.String title,
Layer parent,
org.deegree.feature.persistence.simplesql.SimpleSQLFeatureStore datastore,
org.deegree.rendering.r2d.se.parser.PostgreSQLReader styles,
java.util.Collection<java.lang.Integer> symbolCodes,
java.lang.String symbolField)
|
Method Summary |
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()
|
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, isAvailable, 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 |
DynamicSQLLayer
public DynamicSQLLayer(java.lang.String name,
java.lang.String title,
Layer parent,
org.deegree.feature.persistence.simplesql.SimpleSQLFeatureStore datastore,
org.deegree.rendering.r2d.se.parser.PostgreSQLReader styles,
java.util.Collection<java.lang.Integer> symbolCodes,
java.lang.String symbolField)
- Parameters:
name
- title
- parent
- datastore
- styles
- symbolCodes
- symbolField
-
getBbox
public org.deegree.geometry.Envelope getBbox()
- Overrides:
getBbox
in class Layer
- Returns:
- the bbox
getFeatureType
public org.deegree.feature.types.FeatureType getFeatureType()
- Specified by:
getFeatureType
in class Layer
- Returns:
- the feature type, or null, if not applicable
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
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.