jan: thuban ChangeLog,1.825,1.826

cvs@intevation.de cvs at intevation.de
Wed Jul 27 23:53:15 CEST 2005


Author: jan

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

Modified Files:
	ChangeLog 
Log Message:
Remove the attributes from the layer element in
.thuban files for the save routine.
This also solves RT bug #3149,
https://intevation.de/rt/webrt?serial_num=3149


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.825
retrieving revision 1.826
diff -u -d -r1.825 -r1.826
--- ChangeLog	5 Jul 2005 20:26:10 -0000	1.825
+++ ChangeLog	27 Jul 2005 21:53:13 -0000	1.826
@@ -1,3 +1,40 @@
+2005-07-27  Jan-Oliver Wagner <jan at intevation.de>
+
+	Remove the attributes from the layer element in
+	.thuban files for the save routine.
+	This also solves RT bug #3149,
+	https://intevation.de/rt/webrt?serial_num=3149
+
+	* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
+	TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
+	TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
+	attributes from layer element to classification clnull element.
+
+	* test/test_save.py (SaveSessionTest.testSingleLayer,
+	SaveSessionTest.testLayerProjection,
+	SaveSessionTest.testClassifiedLayer,
+	SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
+	Removed attributes from layer element to classification clnull element.
+	(test_save_postgis.NonConnectionStore._fetch_table_information):
+	added pretending to have a shape_type.
+
+	* Resources/XML/thuban-1.1.dtd: Make the attributes field
+	and field_type of classification optional.
+
+	* Thuban/Model/classification.py (Classification.TreeItem.build_info):
+	Added output of size.
+
+	* Thuban/Model/load.py (SessionLoader.start_classification):
+	Change attribute 'field' and 'field_type' from obligatory to
+	optional to allow empty classes (ie.  only with a default=clnull).
+
+	* Thuban/Model/save.py (SessionSaver.write_layer): Don't write
+	any attributes anymore for the layer element.
+	(SessionSaver.write_classification): Even if there is no
+	classification field, still write the classification because
+	the clnull (default) symbol will not be defined anymore as
+	part of the layer element.
+
 2005-07-05  Bernhard Herzog  <bh at intevation.de>
 
 	* setup.py (setup call): Version 1.1.0





More information about the Thuban-devel mailing list

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