<?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>publicmapping.redistricting.management.commands.defaultplan</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="publicmapping-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 href="http://publicmapping.sf.net">Publicmapping on SourceForge</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="publicmapping-module.html">Package&nbsp;publicmapping</a> ::
        <a href="publicmapping.redistricting-module.html">Package&nbsp;redistricting</a> ::
        <a href="publicmapping.redistricting.management-module.html">Package&nbsp;management</a> ::
        <a href="publicmapping.redistricting.management.commands-module.html">Package&nbsp;commands</a> ::
        Module&nbsp;defaultplan
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="publicmapping.redistricting.management.commands.defaultplan-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module defaultplan</h1><p class="nomargin-top"><span class="codelink"><a href="publicmapping.redistricting.management.commands.defaultplan-pysrc.html">source&nbsp;code</a></span></p>
<pre class="literalblock">

Create a default plan for use as a template.

A default plan should be something like the current congressional boundaries
for a state.  A shapefile with polygons that describe the districts and
coverage that exist, or ideally exist.

The values for the districts inside this plan will be computed based on the
Geounits inside of the bounds of each district.

This file is part of The Public Mapping Project
https://github.com/PublicMapping/

License:
    Copyright 2010 Micah Altman, Michael McDonald

    Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

Author: 
    Andrew Jennings, David Zwarg

</pre>

<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></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">
        <a href="publicmapping.redistricting.management.commands.defaultplan.Command-class.html" class="summary-name">Command</a><br />
      A command that imports a default set of boundaries into a system 
      template.
    </td>
  </tr>
</table>
<p class="indent-wrapped-lines"><b>Imports:</b>
  <span title="django.contrib.gis.gdal.gdal_version">gdal_version</span>,
  <span title="django.contrib.gis.gdal.Envelope">Envelope</span>,
  <span title="django.contrib.gis.gdal.OGRGeomType">OGRGeomType</span>,
  <span title="django.contrib.gis.gdal.OGRException">OGRException</span>,
  <span title="django.contrib.gis.gdal.Driver">Driver</span>,
  <span title="django.contrib.gis.gdal.check_err">check_err</span>,
  <span title="django.contrib.gis.gdal.GEOJSON">GEOJSON</span>,
  <span title="django.contrib.gis.gdal.SpatialReference">SpatialReference</span>,
  <span title="django.contrib.gis.gdal.HAS_GDAL">HAS_GDAL</span>,
  <span title="django.contrib.gis.gdal.SRSException">SRSException</span>,
  <span title="django.contrib.gis.gdal.GDAL_VERSION">GDAL_VERSION</span>,
  <span title="django.contrib.gis.gdal.OGRIndexError">OGRIndexError</span>,
  <span title="django.contrib.gis.gdal.DataSource">DataSource</span>,
  <span title="django.contrib.gis.gdal.OGRGeometry">OGRGeometry</span>,
  <span title="django.contrib.gis.gdal.gdal_release_date">gdal_release_date</span>,
  <span title="django.contrib.gis.gdal.CoordTransform">CoordTransform</span>,
  <span title="django.contrib.gis.gdal.gdal_full_version">gdal_full_version</span>,
  <span title="django.contrib.gis.geos.Polygon">Polygon</span>,
  <span title="django.contrib.gis.geos.WKTWriter">WKTWriter</span>,
  <span title="django.contrib.gis.geos.WKBReader">WKBReader</span>,
  <span title="django.contrib.gis.geos.GEOS_PREPARE">GEOS_PREPARE</span>,
  <span title="django.contrib.gis.geos.MultiLineString">MultiLineString</span>,
  <span title="django.contrib.gis.geos.GEOSException">GEOSException</span>,
  <span title="django.contrib.gis.geos.MultiPolygon">MultiPolygon</span>,
  <span title="django.contrib.gis.geos.GEOSGeometry">GEOSGeometry</span>,
  <span title="django.contrib.gis.geos.geos_version">geos_version</span>,
  <span title="django.contrib.gis.geos.GEOSIndexError">GEOSIndexError</span>,
  <span title="django.contrib.gis.geos.geos_version_info">geos_version_info</span>,
  <span title="django.contrib.gis.geos.fromfile">fromfile</span>,
  <span title="django.contrib.gis.geos.WKBWriter">WKBWriter</span>,
  <span title="django.contrib.gis.geos.WKTReader">WKTReader</span>,
  <span title="django.contrib.gis.geos.LinearRing">LinearRing</span>,
  <span title="django.contrib.gis.geos.MultiPoint">MultiPoint</span>,
  <span title="django.contrib.gis.geos.hex_regex">hex_regex</span>,
  <span title="django.contrib.gis.geos.Point">Point</span>,
  <span title="django.contrib.gis.geos.fromstr">fromstr</span>,
  <span title="django.contrib.gis.geos.wkt_regex">wkt_regex</span>,
  <span title="django.contrib.gis.geos.GeometryCollection">GeometryCollection</span>,
  <span title="django.contrib.gis.geos.LineString">LineString</span>,
  <span title="django.conf.settings">settings</span>,
  <span title="django.core.management.base.BaseCommand">BaseCommand</span>,
  <span title="django.core.management.base.CommandError">CommandError</span>,
  <span title="django.contrib.auth.models.User">User</span>,
  <span title="optparse.make_option">make_option</span>,
  <span title="csv">csv</span>,
  <span title="datetime">datetime</span>
</p><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="publicmapping-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 href="http://publicmapping.sf.net">Publicmapping on SourceForge</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 Thu Dec 16 09:58:45 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>
