/[thuban]
ViewVC logotype

Revision 1638


Jump to revision: Previous Next
Author: bh
Date: Fri Aug 22 18:19:14 2003 UTC (21 years, 6 months ago)
Changed paths: 5
Log Message:
Implement saving a session with a postgis connection

* Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New
elements for database connections and shapestores using db
connections
(session): Add the dbconnections to the content model

* Thuban/Model/save.py (SessionSaver.write_db_connections): New.
Write the db connections
(SessionSaver.write_session): Call write_db_connections to write
the connection before the data sources
(SessionSaver.write_data_containers): Handle postgis shapestores

* test/test_save.py (SaveSessionTest.thubanids)
(SaveSessionTest.thubanidrefs): Update for new DTD
(SaveSessionTest.test_save_postgis): New. Test saving a session
with postgis connections

* Thuban/Model/postgisdb.py (PostGISTable.DBConnection)
(PostGISTable.TableName): New accessor methods for the connection
and table name

* test/test_postgis_db.py (TestPostGISTable.test_dbconn)
(TestPostGISTable.test_dbname): New methods to test the new
PostGISConnection methods


Changed paths

Path Details
Directorytrunk/thuban/Resources/XML/thuban-0.9.dtd modified , text changed
Directorytrunk/thuban/Thuban/Model/postgisdb.py modified , text changed
Directorytrunk/thuban/Thuban/Model/save.py modified , text changed
Directorytrunk/thuban/test/test_postgis_db.py modified , text changed
Directorytrunk/thuban/test/test_save.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26