sunlightlabs / polipoly
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (4)
- Graphs
-
Tree:
bc4b0a5
commit bc4b0a5d8163b7986000e22e9bcaa54a036f5131
tree 4461fe6fd9decafcd2c64d241e105239f714daaf
parent 96527c801dbfd53ded84355f9b052c4bb9ebbd7a
tree 4461fe6fd9decafcd2c64d241e105239f714daaf
parent 96527c801dbfd53ded84355f9b052c4bb9ebbd7a
polipoly /
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | ||
| |
MANIFEST.in | ||
| |
README.txt | ||
| |
examples/ | ||
| |
install_shapelib.sh | ||
| |
polipoly.py | ||
| |
setup.py |
README.txt
polipoly - Python library for dealing with political boundaries. Enables
programatic conversion of latitudes/longitudes to political districts.
http://polipoly.googlecode.com/
polipoly is a project of Sunlight Labs (C) 2007-2008 see LICENSE.txt for details
Files Included
==============
polipoly.py - The polipoly library
examples/address_to_district.py - Implementation of a webservice for an address
to district webservice. This is based on the code that runs
http://api.sunlightlabs.com/places.getDistrictFromAddress
examples/csvtest.py - Example of batch processing addresses from a csv file.
Requirements
============
python >= 2.4
pyShapeLib 0.3 (see http://code.google.com/p/polipoly/wiki/ShapeLib)
Installation
============
To install run
python setup.py install
which will install the bindings into python's site-packages directory.
Documentation
=============
For documentation view the source itself and the examples included in the
examples/ subdirectory.

