jan: thuban ChangeLog,1.805,1.806

cvs@intevation.de cvs at intevation.de
Wed Apr 27 13:07:17 CEST 2005


Author: jan

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv29411

Modified Files:
	ChangeLog 
Log Message:
Introduce FileShapeStore as generalization for
file-based shape stores. In a first instance
this allows additional modules to handle shapefile
format as well, namely the OGR extension.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.805
retrieving revision 1.806
diff -u -d -r1.805 -r1.806
--- ChangeLog	26 Apr 2005 15:05:19 -0000	1.805
+++ ChangeLog	27 Apr 2005 11:07:15 -0000	1.806
@@ -1,3 +1,25 @@
+2005-04-27  Jan-Oliver Wagner <jan at intevation.de>
+
+	Introduce FileShapeStore as generalization for
+	file-based shape stores. In a first instance
+	this allows additional modules to handle shapefile
+	format as well, namely the OGR extension.
+
+	* Thuban/Model/data.py: Various small fixes in doc-strings.
+	(FileShapeStore): New class.
+	(ShapefileStore): Derive from FileShapeStore.
+	(ShapefileStore.__init__): Call __init__ of FileShapeStore,
+	rename self.table to self._table, initialize self._bbox
+	(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
+	and self.FileName() instead of self.filename.
+	(ShapefileStore.Table): Use self._table instead of self.table.
+	(ShapefileStore.FileName): Removed (moved to FileShapeStore).
+	(ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
+
+	* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
+	(SessionSaver.write_data_containers): Only use methods of the
+	base class FileShapeStore.
+
 2005-04-26  Martin Schulze  <joey at infodrom.org>
 
 	* Extensions/wms/wms.py (render_wms_layer): Adjusted the render





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)