org.deegree.ogcwebservices.wms
Class GetMapServiceInvoker
java.lang.Object
org.deegree.ogcwebservices.wms.GetMapServiceInvoker
- Direct Known Subclasses:
- GetMapServiceInvokerForNL, GetMapServiceInvokerForUL
public abstract class GetMapServiceInvoker
- extends java.lang.Object
- Since:
- 2.0
- Version:
- $Revision: 21877 $, 1.0. $Revision: 21877 $, $Date: 2010-01-12 09:03:37 +0100 (Di, 12 Jan 2010) $
- Author:
- Andreas Poth, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
protected final DefaultGetMapHandler handler
- default get map handler
scaleDen
protected double scaleDen
- scale denominator
GetMapServiceInvoker
public GetMapServiceInvoker(DefaultGetMapHandler handler,
double scaleDen)
- Parameters:
handler
- scaleDen
-
findGeoProperties
protected java.util.List<PropertyPath> findGeoProperties(AbstractLayer layer,
FeatureTypeConstraint[] ftc,
java.util.List<PropertyPath> pp)
throws OGCWebServiceException,
java.io.IOException,
org.xml.sax.SAXException,
XMLSchemaException,
XMLParsingException,
UnknownCRSException
- the method accesses the GML schema of the feature types being part of the passed FeatureTypeConstraints and
extracts the geometry property definition. The names of the geometry properties will be added as PropertyPath's
to passed list
- Parameters:
layer
- ftc
- pp
-
- Returns:
- the list of property paths
- Throws:
OGCWebServiceException
org.xml.sax.SAXException
java.io.IOException
XMLParsingException
XMLSchemaException
UnknownCRSException
getResponsibleService
protected OGCWebService getResponsibleService(AbstractLayer layer)
throws OGCWebServiceException
- Parameters:
layer
-
- Returns:
- the service instance
- Throws:
OGCWebServiceException
- if no service could be found
extractNameSpaceDef
protected java.util.Map<java.lang.String,java.net.URI> extractNameSpaceDef(java.util.List<PropertyPath> pp)
- extracts all used namespace definitions from a set of PropertyPath's
- Parameters:
pp
-
- Returns:
- the used namespace definitions from a set of PropertyPath's
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org