Using SQLAlchemy with spatial databases
Python Shell
Latest commit bc80809 Jun 11, 2013 @Turbo87 Turbo87 Merge pull request #31 from Turbo87/test
Basic support for TravisCI
Permalink
Failed to load latest commit information.
doc Set version to 0.7.3dev Apr 9, 2013
examples add example of aggregation Mar 22, 2012
geoalchemy
.gitignore more ignores Mar 28, 2012
.travis.yml
CHANGES.txt
MANIFEST.in create MANIFEST.in to include README.rst to sdist packages, which is … Mar 30, 2012
README.rst
RELEASE.txt update RELEASE procedure Jun 5, 2012
setup.cfg getting setup.py ready for release Aug 16, 2009
setup.py setup.py: Import cleanup Jun 10, 2013

README.rst

GeoAlchemy

GIS Support for SQLAlchemy.

Introduction

GeoAlchemy is an extension of SQLAlchemy. It provides support for Geospatial data types at the ORM layer using SQLAlchemy. It aims to support spatial operations and relations specified by the Open Geospatial Consortium (OGC). The project started under Google Summer of Code Program under the mentorship of Mark Ramm-Christensen.

Requirements

Requires SQLAlchemy > 0.6. Supported on Python 2.5 and Python 2.6. Should also work with Python 2.4 but has not been tested. It also requires a supported spatial database.

Supported Spatial Databases

At present PostGIS, Spatialite, MySQL, Oracle and MS SQL Server 2008 are supported.

Support

GeoAlchemy is at an early stage of development. Its mailing list is available on Google Groups. The source code can be found on GitHub. Also, feel free to email the author directly to send bugreports, feature requests, patches, etc.

Installation

To install type as usual:

$ easy_install GeoAlchemy

Or, download the package, change into geoalchemy dir and type:

$ python setup.py install

Documentation

Documentation is available online at http://geoalchemy.org. You can also generate full documentation using sphinx by doing make html in the doc dir and pointing the browser to doc/_build/index.html.

Package Contents

geoalchemy/
Source code of the project.
geoalchemy/tests/
Unittests for GeoAlchemy.
doc/
Documentation source.
examples/
A few examples demonstrating usage.

License

GeoAlchemy is released under the MIT License.

Contributors

The contributors to this project (in alphabetical order are):

  • Eric Lemoine
  • Frank Broniewski
  • Mark Hall
  • Michael Bayer
  • Mike Gilligan
  • Sanjiv Singh
  • Stefano Costa
  • Tobias Sauerwein