Shapely
Shapely is a package for creation, manipulation, and analysis of planar geometries – designed especially for developers of cutting edge geographic information systems. In a nutshell: Shapely lets you do PostGIS-ish stuff outside the context of a database using idiomatic Python.
Shapely plays well with matplotlib and has several handy usage examples:
Current distributions: 1.0.14, 1.2a6
Last, but not least: Shapely has a manual with narrative documentation.
Dependencies
- Python 2.4+ (1.2 requires 2.5+)
- libgeos_c (2.2.3 or 3.0.0+)
- Python ctypes (standard in Python 2.5+): http://pypi.python.org/pypi/ctypes/
Installation
Windows users should use the executable installer, which contains the required GEOS DLL. Other users should acquire and install libgeos_c by any means, such as by executing
$ apt-get install libgeos-c1
Then install from the Python package index:
$ easy_install Shapely
or
$ pip install Shapely
Support
If you have questions, please consider subscribing to the community list ( archives) shared with Geojson, Rtree, and OWSLib.
Development
See also:


