Closed jiffyclub closed 10 years ago
@janowicz, I haven't set up a working database with data yet so I haven't tested this. If you or @conorhenley could do me a favor and check out this branch and try to run some of the notebooks and make sure nothing is broken I'd appreciate it.
Or I can try it out tomorrow with the loading and everything.
Tested it by running the spatial_demo notebook, and it works great! Thanks Matt!
So we can drop dependency on urbansim.
Before using the database you should open a connection to it:
From then on the internal spandex code will then use the same object and it's stored connection for all database communication, taking advantage of psycopg2's automatic commit and rollback logic.