mapnik/docs/api_docs/python/mapnik.ogcserver.wms111.ServiceHandler-class.html

408 lines
20 KiB
HTML
Raw Normal View History

<?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>&nbsp;&nbsp;&nbsp;<a
href="mapnik-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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&nbsp;mapnik</a> ::
<a href="mapnik.ogcserver-module.html">Package&nbsp;ogcserver</a> ::
<a href="mapnik.ogcserver.wms111-module.html">Module&nbsp;wms111</a> ::
Class&nbsp;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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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>&lt;mapni<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</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', &lt;type 'str'&gt;],
['abstract', 'Abstract', &lt;type 'str'&gt;],
['onlineresource', 'OnlineResource', &lt;type 'str'&gt;],
['fees', 'Fees', &lt;type 'str'&gt;],
['accessconstraints', 'AccessConstraints', &lt;type 'str'&gt;],
['keywordlist', 'KeywordList', &lt;type 'str'&gt;]]"><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>&lt;type 'str'&gt;<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">&nbsp;</span>
</td><td class="summary">
<a href="mapnik.ogcserver.wms111.ServiceHandler-class.html#capabilitiesxmltemplate" class="summary-name">capabilitiesxmltemplate</a> = <code title="'''&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
&lt;!DOCTYPE WMT_MS_Capabilities SYSTEM &quot;http://www.digitalearth.gov/\
wmt/xml/capabilities_1_1_1.dtd&quot;&gt;
&lt;WMT_MS_Capabilities version=&quot;1.1.1&quot; updateSequence=&quot;0&quot; xmlns:xlin\
k=&quot;http://www.w3.org/1999/xlink&quot; xmlns=&quot;http://www.opengis.net/wms&quot;&gt;
&lt;Service&gt;
&lt;Name&gt;WMS&lt;/Name&gt;
&lt;/Service&gt;
..."><code class="variable-quote">'</code><code class="variable-string">&lt;?xml version=&quot;1.0&quot; encoding=&quot;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"
>&nbsp;
</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"
>&nbsp;
</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>&lt;type 'str'&gt;<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>&lt;type 'str'&gt;<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>&lt;type 'str'&gt;<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>&lt;type 'str'&gt;<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>&lt;type 'str'&gt;<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>&lt;type 'str'&gt;<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">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</code>
<code class="variable-string"> &lt;!DOCTYPE WMT_MS_Capabilities SYSTEM &quot;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&quot;&gt;</code>
<code class="variable-string"> &lt;WMT_MS_Capabilities version=&quot;1.1.1&quot; updateSequence=&quot;0&quot; xmlns:xlin</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">k=&quot;http://www.w3.org/1999/xlink&quot; xmlns=&quot;http://www.opengis.net/wms&quot;&gt;</code>
<code class="variable-string"> &lt;Service&gt;</code>
<code class="variable-string"> &lt;Name&gt;WMS&lt;/Name&gt;</code>
<code class="variable-string"> &lt;/Service&gt;</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>&nbsp;&nbsp;&nbsp;<a
href="mapnik-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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">
2009-04-01 00:47:05 +00:00
Generated by Epydoc 3.0.1 on Tue Mar 31 17:46:48 2009
</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>