UDST / spandex

Spatial Analysis and Data Extraction
http://nbviewer.ipython.org/github/synthicity/user_meeting_2014/blob/gh-pages/spandex/spandex_demo.ipynb
BSD 3-Clause "New" or "Revised" License
22 stars 7 forks source link

GeoAlchemy support #21

Closed daradib closed 10 years ago

daradib commented 10 years ago

DataLoader and database class now support GeoAlchemy.

Example usage:

loader = DataLoader()
session = loader.database.session
alameda = loader.database.tables.staging.alameda
for desc in session.query(alameda.luc_desc).distinct():
    print(desc)

Need to implement some spatialtoolz functions with GeoAlchemy as proof-of-concept before merging.

daradib commented 10 years ago

Fixed db_to_df argument and added GeoAlchemy to setup.py. Thanks @janowicz. Will merge.