376 lines
20 KiB
HTML
376 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.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> <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.wms130-module.html">Module wms130</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.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"> </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><mapnik.ogcser<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.wms130.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'>],
|
|
['layerlimit', 'LayerLimit', <type 'int'>],
|
|
['maxwidth', 'MaxWidth', <type 'int'>],
|
|
['maxheight', 'MaxHeight', <type 'int'>],
|
|
..."><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.wms130.ServiceHandler-class.html#capabilitiesxmltemplate" class="summary-name">capabilitiesxmltemplate</a> = <code title="'''<?xml version="1.0" encoding="UTF-8"?>
|
|
<WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wm\
|
|
s"
|
|
xmlns:xlink="http://www.w3.org/1\
|
|
999/xlink"
|
|
xmlns:xsi="http://www.w3.org/200\
|
|
1/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.o\
|
|
..."><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>
|
|
<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><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">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><type 'int'><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><type 'int'><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><type 'int'><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"><?xml version="1.0" encoding="UTF-8"?></code>
|
|
<code class="variable-string"> <WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wm</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-string">s"</code>
|
|
<code class="variable-string"> xmlns:xlink="http://www.w3.org/1</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-string">999/xlink"</code>
|
|
<code class="variable-string"> xmlns:xsi="http://www.w3.org/200</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
|
|
<code class="variable-string">1/XMLSchema-instance"</code>
|
|
<code class="variable-string"> xsi:schemaLocation="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> <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>
|