407 lines
20 KiB
HTML
407 lines
20 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>mapnik.ogcserver.wms111.ServiceHandler</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="mapnik-module.html">Package mapnik</a> ::
|
|
<a href="mapnik.ogcserver-module.html">Package ogcserver</a> ::
|
|
<a href="mapnik.ogcserver.wms111-module.html">Module wms111</a> ::
|
|
Class ServiceHandler
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
<h1 class="epydoc">Class ServiceHandler</h1><p class="nomargin-top"></p>
|
|
<pre class="base-tree">
|
|
<a href="mapnik.ogcserver.common.BaseServiceHandler-class.html">common.BaseServiceHandler</a> --+
|
|
|
|
|
<a href="mapnik.ogcserver.common.WMSBaseServiceHandler-class.html">common.WMSBaseServiceHandler</a> --+
|
|
|
|
|
<strong class="uidshort">ServiceHandler</strong>
|
|
</pre>
|
|
|
|
<hr />
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
<a name="section-InstanceMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Instance Methods</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">conf</span>,
|
|
<span class="summary-sig-arg">mapfactory</span>,
|
|
<span class="summary-sig-arg">opsonlineresource</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetCapabilities"></a><span class="summary-sig-name">GetCapabilities</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">params</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#GetMap" class="summary-sig-name">GetMap</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">params</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#GetFeatureInfo" class="summary-sig-name">GetFeatureInfo</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">params</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html">common.BaseServiceHandler</a></code></b>:
|
|
<code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html#processParameters">processParameters</a></code>,
|
|
<code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html#processServiceCapabilities">processServiceCapabilities</a></code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS VARIABLES ==================== -->
|
|
<a name="section-ClassVariables"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Class Variables</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#SERVICE_PARAMS" class="summary-name">SERVICE_PARAMS</a> = <code title="{'GetCapabilities': {'updatesequence': ParameterDefinition(False, str)\
|
|
}, 'GetMap': {'layers': ParameterDefinition(True, ListFactory(str)), '\
|
|
styles': ParameterDefinition(True, ListFactory(str)), 'srs': Parameter\
|
|
Definition(True, CRSFactory(['EPSG'])), 'bbox': ParameterDefinition(Tr\
|
|
ue, ListFactory(float)), 'width': ParameterDefinition(True, int), 'hei\
|
|
ght': ParameterDefinition(True, int), 'format': ParameterDefinition(Tr\
|
|
ue, str, allowedvalues= ('image/png', 'image/jpeg')), 'transparent': P\
|
|
arameterDefinition(False, str, 'FALSE', ('TRUE', 'FALSE')), 'bgcolor':\
|
|
..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">GetCapabilities</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">updatesequence</code><code class="variable-quote">'</code><code class="variable-op">: </code><mapni<code class="variable-ellipsis">...</code></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#CONF_SERVICE" class="summary-name">CONF_SERVICE</a> = <code title="[['title', 'Title', <type 'str'>],
|
|
['abstract', 'Abstract', <type 'str'>],
|
|
['onlineresource', 'OnlineResource', <type 'str'>],
|
|
['fees', 'Fees', <type 'str'>],
|
|
['accessconstraints', 'AccessConstraints', <type 'str'>],
|
|
['keywordlist', 'KeywordList', <type 'str'>]]"><code class="variable-group">[</code><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">title</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Title</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">, </code><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">abstract</code><code class="variable-quote">'</code><code class="variable-op">,</code><code class="variable-ellipsis">...</code></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#capabilitiesxmltemplate" class="summary-name">capabilitiesxmltemplate</a> = <code title="'''<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://www.digitalearth.gov/\
|
|
wmt/xml/capabilities_1_1_1.dtd">
|
|
<WMT_MS_Capabilities version="1.1.1" updateSequence="0" xmlns:xlin\
|
|
k="http://www.w3.org/1999/xlink" xmlns="http://www.opengis.net/wms">
|
|
<Service>
|
|
<Name>WMS</Name>
|
|
</Service>
|
|
..."><code class="variable-quote">'</code><code class="variable-string"><?xml version="1.0" encoding="UTF-8</code><code class="variable-ellipsis">...</code></code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html">common.BaseServiceHandler</a></code></b>:
|
|
<code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html#CONF_CONTACT">CONF_CONTACT</a></code>,
|
|
<code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html#CONF_CONTACT_ADDRESS">CONF_CONTACT_ADDRESS</a></code>,
|
|
<code><a href="mapnik.ogcserver.common.BaseServiceHandler-class.html#CONF_CONTACT_PERSON_PRIMARY">CONF_CONTACT_PERSON_PRIMARY</a></code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
<a name="section-MethodDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Method Details</span></td>
|
|
</tr>
|
|
</table>
|
|
<a name="GetMap"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetMap</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">params</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
>
|
|
</td>
|
|
</tr></table>
|
|
|
|
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
<a href="mapnik.ogcserver.common.WMSBaseServiceHandler-class.html#GetMap">common.WMSBaseServiceHandler.GetMap</a>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="GetFeatureInfo"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetFeatureInfo</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">params</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
>
|
|
</td>
|
|
</tr></table>
|
|
|
|
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
<a href="mapnik.ogcserver.common.WMSBaseServiceHandler-class.html#GetFeatureInfo">common.WMSBaseServiceHandler.GetFeatureInfo</a>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
|
|
<a name="section-ClassVariableDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Class Variable Details</span></td>
|
|
</tr>
|
|
</table>
|
|
<a name="SERVICE_PARAMS"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">SERVICE_PARAMS</h3>
|
|
|
|
<dl class="fields">
|
|
</dl>
|
|
<dl class="fields">
|
|
<dt>Value:</dt>
|
|
<dd><table><tr><td><pre class="variable">
|
|
{'GetCapabilities': {'updatesequence': ParameterDefinition(False, str)<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
}, 'GetMap': {'layers': ParameterDefinition(True, ListFactory(str)), '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
styles': ParameterDefinition(True, ListFactory(str)), 'srs': Parameter<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
Definition(True, CRSFactory(['EPSG'])), 'bbox': ParameterDefinition(Tr<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
ue, ListFactory(float)), 'width': ParameterDefinition(True, int), 'hei<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
ght': ParameterDefinition(True, int), 'format': ParameterDefinition(Tr<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
ue, str, allowedvalues= ('image/png', 'image/jpeg')), 'transparent': P<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
arameterDefinition(False, str, 'FALSE', ('TRUE', 'FALSE')), 'bgcolor':<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-ellipsis">...</code>
|
|
</pre></td></tr></table>
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="CONF_SERVICE"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">CONF_SERVICE</h3>
|
|
|
|
<dl class="fields">
|
|
</dl>
|
|
<dl class="fields">
|
|
<dt>Value:</dt>
|
|
<dd><table><tr><td><pre class="variable">
|
|
<code class="variable-group">[</code><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">title</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Title</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">,</code>
|
|
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">abstract</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Abstract</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">,</code>
|
|
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">onlineresource</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">OnlineResource</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">,</code>
|
|
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">fees</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Fees</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">,</code>
|
|
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">accessconstraints</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">AccessConstraints</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-op">,</code>
|
|
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">keywordlist</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">KeywordList</code><code class="variable-quote">'</code><code class="variable-op">, </code><type 'str'><code class="variable-group">]</code><code class="variable-group">]</code>
|
|
</pre></td></tr></table>
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="capabilitiesxmltemplate"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">capabilitiesxmltemplate</h3>
|
|
|
|
<dl class="fields">
|
|
</dl>
|
|
<dl class="fields">
|
|
<dt>Value:</dt>
|
|
<dd><table><tr><td><pre class="variable">
|
|
<code class="variable-quote">'''</code><code class="variable-string"><?xml version="1.0" encoding="UTF-8" standalone="no"?></code>
|
|
<code class="variable-string"> <!DOCTYPE WMT_MS_Capabilities SYSTEM "http://www.digitalearth.gov/</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-string">wmt/xml/capabilities_1_1_1.dtd"></code>
|
|
<code class="variable-string"> <WMT_MS_Capabilities version="1.1.1" updateSequence="0" xmlns:xlin</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-string">k="http://www.w3.org/1999/xlink" xmlns="http://www.opengis.net/wms"></code>
|
|
<code class="variable-string"> <Service></code>
|
|
<code class="variable-string"> <Name>WMS</Name></code>
|
|
<code class="variable-string"> </Service></code>
|
|
<code class="variable-ellipsis">...</code>
|
|
</pre></td></tr></table>
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Sun Jan 10 16:14:12 2010
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|