350 lines
17 KiB
HTML
350 lines
17 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!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._mapnik.Map</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
|
|
</head>
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="../private/mapnik._mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center">
|
|
<p class="nomargin">
|
|
<a class="navbar" target="_top" href="http://www.mapnik.org">Mapnik</a>
|
|
</p></th></tr></table>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<font size="-1"><b class="breadcrumbs">
|
|
Package mapnik ::
|
|
<a href="../private/mapnik._mapnik-module.html">Module _mapnik</a> ::
|
|
Class Map
|
|
</b></font></br>
|
|
</td>
|
|
<td><table cellpadding="0" cellspacing="0">
|
|
<tr><td align="right"><font size="-2">[<b>show private</b> | hide private]</font></td></tr>
|
|
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="../private/mapnik._mapnik.Map-class.html" target="_top">no frames</a>]</font></td></tr>
|
|
</table></td>
|
|
</tr></table>
|
|
|
|
<!-- =========== START OF CLASS DESCRIPTION =========== -->
|
|
<h2 class="class">Type Map</h2>
|
|
|
|
<pre class="base-tree">
|
|
<a href="__builtin__.object-class.html"><code>object</code></a> --+
|
|
|
|
|
<a href="None.instance-class.html"><code>instance</code></a> --+
|
|
|
|
|
<b>Map</b>
|
|
</pre><br />
|
|
|
|
<hr/>
|
|
|
|
The map object.
|
|
<hr/>
|
|
|
|
|
|
<!-- =========== START OF METHOD SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Method Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__init__"></a><span class="summary-sig"><span class="summary-sig-name">__init__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__getinitargs__"></a><span class="summary-sig"><span class="summary-sig-name">__getinitargs__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__getstate__"></a><span class="summary-sig"><span class="summary-sig-name">__getstate__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="unknown--1211307956"></a><span class="summary-sig"><span class="summary-sig-name">__reduce__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__setstate__"></a><span class="summary-sig"><span class="summary-sig-name">__setstate__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="append_style"></a><span class="summary-sig"><span class="summary-sig-name">append_style</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="pan"></a><span class="summary-sig"><span class="summary-sig-name">pan</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="pan_and_zoom"></a><span class="summary-sig"><span class="summary-sig-name">pan_and_zoom</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="remove_style"></a><span class="summary-sig"><span class="summary-sig-name">remove_style</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="scale"></a><span class="summary-sig"><span class="summary-sig-name">scale</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="zoom"></a><span class="summary-sig"><span class="summary-sig-name">zoom</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="../private/mapnik._mapnik.Map-class.html#zoom_to_box" class="summary-sig-name"><code>zoom_to_box</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
Set the geographical extent of the map.</td></tr>
|
|
<tr bgcolor="#e8f0f8" class="group">
|
|
<th colspan="2"> Inherited from instance</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="None.instance-class.html#__new__" class="summary-sig-name"><code>__new__</code></a>(<span class=summary-sig-arg>T</span>,
|
|
<span class=summary-sig-arg>S</span>,
|
|
<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
T.__new__(S, ...) -> a new object with type S, a subtype of T</td></tr>
|
|
<tr bgcolor="#e8f0f8" class="group">
|
|
<th colspan="2"> Inherited from object</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__delattr__" class="summary-sig-name"><code>__delattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__delattr__('name') <==> del x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__getattribute__" class="summary-sig-name"><code>__getattribute__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__getattribute__('name') <==> x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__hash__" class="summary-sig-name"><code>__hash__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__hash__() <==> hash(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce_ex__" class="summary-sig-name"><code>__reduce_ex__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
helper for pickle</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__repr__" class="summary-sig-name"><code>__repr__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__repr__() <==> repr(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__setattr__" class="summary-sig-name"><code>__setattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__setattr__('name', value) <==> x.name = value</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__str__" class="summary-sig-name"><code>__str__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__str__() <==> str(x)</td></tr>
|
|
</table><br />
|
|
|
|
|
|
<!-- =========== START OF PROPERTY SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Property Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#background"><code>background</code></a></b>: The background color of the map.</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#height"><code>height</code></a></b>: The height of the map image.</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#layers"><code>layers</code></a></b>: Get the list of layers in this map.</td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#srid"><code>srid</code></a></b></td></tr><tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#width"><code>width</code></a></b>: The width of the map image.</td></tr></table><br />
|
|
|
|
|
|
<!-- =========== START OF CLASS VARIABLE SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Class Variable Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>int</code></font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#__instance_size__"><code>__instance_size__</code></a></b> = <span title="96">96 </span></td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>bool</code></font></td>
|
|
<td><b><a href="../private/mapnik._mapnik.Map-class.html#__safe_for_unpickling__"><code>__safe_for_unpickling__</code></a></b> = <span title="True"><code>True </code>
|
|
</span></td></tr>
|
|
</table><br />
|
|
|
|
|
|
<!-- =========== START OF METHOD DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Method Details</th></tr>
|
|
</table>
|
|
|
|
<a name="zoom_to_box"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">zoom_to_box</span>(<span class="sig-vararg">...</span>)</span>
|
|
</h3>
|
|
Set the geographical extent of the map.
|
|
<dl><dt></dt><dd>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
<br />
|
|
|
|
|
|
<!-- =========== START OF PROPERTY DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Property Details</th></tr>
|
|
</table>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="background"></a>
|
|
<h3>background</h3>
|
|
The background color of the map.
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
<dt><b>Set Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="height"></a>
|
|
<h3>height</h3>
|
|
The height of the map image.
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
<dt><b>Set Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="layers"></a>
|
|
<h3>layers</h3>
|
|
Get the list of layers in this map.
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="srid"></a>
|
|
<h3>srid</h3>
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
|
|
<a name="width"></a>
|
|
<h3>width</h3>
|
|
The width of the map image.
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Get Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
<dt><b>Set Method:</b></dt>
|
|
<dd><code><Boost.Python.function object at 0x9161c<span class="variable-ellipsis">...</span></code>
|
|
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl></td></tr></table><br />
|
|
|
|
|
|
<!-- =========== START OF CLASS VARIABLE DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Class Variable Details</th></tr>
|
|
</table>
|
|
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
|
|
<a name="__instance_size__"></a>
|
|
<h3>__instance_size__</h3>
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Type:</b></dt>
|
|
<dd>
|
|
<code>int</code>
|
|
|
|
</dd>
|
|
<span title="96"> <dt><b>Value:</b></dt>
|
|
<dd><table><tr><td>
|
|
<pre class="variable">
|
|
96 </pre>
|
|
</td></tr></table></dd>
|
|
</span> </dl>
|
|
</dd>
|
|
</dl></td></tr></table>
|
|
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
|
|
<a name="__safe_for_unpickling__"></a>
|
|
<h3>__safe_for_unpickling__</h3>
|
|
<dl>
|
|
<dt></dt>
|
|
<dd>
|
|
<dl>
|
|
<dt><b>Type:</b></dt>
|
|
<dd>
|
|
<code>bool</code>
|
|
|
|
</dd>
|
|
<span title="True"> <dt><b>Value:</b></dt>
|
|
<dd><table><tr><td>
|
|
<pre class="variable">
|
|
True </pre>
|
|
</td></tr></table></dd>
|
|
</span> </dl>
|
|
</dd>
|
|
</dl></td></tr></table>
|
|
<br />
|
|
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="../private/mapnik._mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center">
|
|
<p class="nomargin">
|
|
<a class="navbar" target="_top" href="http://www.mapnik.org">Mapnik</a>
|
|
</p></th></tr></table>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Wed Mar 22 21:43:29 2006</font></td>
|
|
<td align="right"><a href="http://epydoc.sourceforge.net"
|
|
><font size="-2">http://epydoc.sf.net</font></a></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|