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

377 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.wms130.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.wms130-module.html">Module&nbsp;wms130</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.wms130.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 colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code><a href="mapnik.ogcserver.common.WMSBaseServiceHandler-class.html">common.WMSBaseServiceHandler</a></code></b>:
<code><a href="mapnik.ogcserver.common.WMSBaseServiceHandler-class.html#GetFeatureInfo">GetFeatureInfo</a></code>
</p>
<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.wms130.ServiceHandler-class.html#SERVICE_PARAMS" class="summary-name">SERVICE_PARAMS</a> = <code title="{'GetCapabilities': {'format': ParameterDefinition(False, str, 'text/x\
ml', ('text/xml',), True), 'updatesequence': ParameterDefinition(False\
, str)}, 'GetMap': {'layers': ParameterDefinition(True, ListFactory(st\
r)), 'styles': ParameterDefinition(True, ListFactory(str)), 'crs': Par\
ameterDefinition(True, CRSFactory(['EPSG'])), 'bbox': ParameterDefinit\
ion(True, ListFactory(float)), 'width': ParameterDefinition(True, int)\
, 'height': ParameterDefinition(True, int), 'format': ParameterDefinit\
ion(True, str, allowedvalues= ('image/png', 'image/jpeg')), 'transpare\
..."><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">format</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;mapnik.ogcser<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.wms130.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;],
['layerlimit', 'LayerLimit', &lt;type 'int'&gt;],
['maxwidth', 'MaxWidth', &lt;type 'int'&gt;],
['maxheight', 'MaxHeight', &lt;type 'int'&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.wms130.ServiceHandler-class.html#capabilitiesxmltemplate" class="summary-name">capabilitiesxmltemplate</a> = <code title="'''&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;WMS_Capabilities version=&quot;1.3.0&quot; xmlns=&quot;http://www.opengis.net/wm\
s&quot;
xmlns:xlink=&quot;http://www.w3.org/1\
999/xlink&quot;
xmlns:xsi=&quot;http://www.w3.org/200\
1/XMLSchema-instance&quot;
xsi:schemaLocation=&quot;http://www.o\
..."><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>
<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': {'format': ParameterDefinition(False, str, 'text/x<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ml', ('text/xml',), True), 'updatesequence': ParameterDefinition(False<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
, str)}, 'GetMap': {'layers': ParameterDefinition(True, ListFactory(st<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
r)), 'styles': ParameterDefinition(True, ListFactory(str)), 'crs': Par<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ameterDefinition(True, CRSFactory(['EPSG'])), 'bbox': ParameterDefinit<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ion(True, ListFactory(float)), 'width': ParameterDefinition(True, int)<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
, 'height': ParameterDefinition(True, int), 'format': ParameterDefinit<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ion(True, str, allowedvalues= ('image/png', 'image/jpeg')), 'transpare<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">layerlimit</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">LayerLimit</code><code class="variable-quote">'</code><code class="variable-op">, </code>&lt;type 'int'&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">maxwidth</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">MaxWidth</code><code class="variable-quote">'</code><code class="variable-op">, </code>&lt;type 'int'&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">maxheight</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">MaxHeight</code><code class="variable-quote">'</code><code class="variable-op">, </code>&lt;type 'int'&gt;<code class="variable-group">]</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</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;?&gt;</code>
<code class="variable-string"> &lt;WMS_Capabilities version=&quot;1.3.0&quot; xmlns=&quot;http://www.opengis.net/wm</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">s&quot;</code>
<code class="variable-string"> xmlns:xlink=&quot;http://www.w3.org/1</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">999/xlink&quot;</code>
<code class="variable-string"> xmlns:xsi=&quot;http://www.w3.org/200</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">1/XMLSchema-instance&quot;</code>
<code class="variable-string"> xsi:schemaLocation=&quot;http://www.o</code><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>
<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-12 21:37:42 +00:00
Generated by Epydoc 3.0.1 on Sun Apr 12 14:37:27 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>