jan: thuban ChangeLog,1.697,1.698

cvs@intevation.de cvs at intevation.de
Mon Oct 4 00:04:34 CEST 2004


Author: jan

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

Modified Files:
	ChangeLog 
Log Message:
First elements for sizeable point objects.


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.697
retrieving revision 1.698
diff -u -d -r1.697 -r1.698
--- ChangeLog	3 Oct 2004 19:38:14 -0000	1.697
+++ ChangeLog	3 Oct 2004 22:04:32 -0000	1.698
@@ -1,5 +1,48 @@
 2004-10-03  Jan-Oliver Wagner <jan at intevation.de>
 
+	First elements for sizeable point objects.
+
+	* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
+
+	* Data/iceland_sample_size.thuban: New. Sample for sized point objects.
+
+	* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
+	of a corresponding argument is given.
+	(TestSymbolSize): New. Test the size attribute of cldata.
+
+	* Thuban/Model/classification.py: Removed some trailing whitespaces.
+	(ClassGroupProperties.__init__): Set default size.
+	(ClassGroupProperties.SetProperties): Set the size.
+	(ClassGroupProperties.GetSize): New. Return the size.
+	(ClassGroupProperties.SetSize): New. Set the size.
+	(ClassGroupProperties__eq__): Compare also size.
+	(ClassGroupProperties__repr__): Print also size.
+
+	* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
+	the size attribute.
+
+	* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
+	Also, now there is a return value that indicates whether the drawing
+	size exceeded the given rect extent and if so the new extent.
+	Finally, point objects are drawn depending on the size. If either
+	the width or height is exceeded, the new extent is returned.
+	(ClassRenderer.Draw): Now when calling the previewer drawing function,
+	evaluate the return value and, if not None, adapt the grid widget size
+	accordingly and redraw again.
+
+	* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
+	If the draw function is for points, call it with the size as additional
+	parameter.
+	(BaseRenderer.draw_point_shape): Added additional, optional parameter for
+	the size. Compute the radius using the size.
+
+	* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
+	that Thuban supports size, apply this correctly.
+
+	* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
+
+2004-10-03  Jan-Oliver Wagner <jan at intevation.de>
+
 	* Doc/manual/thuban-manual-de.xml: Started translation of
 	Map chapter.
 





More information about the Thuban-devel mailing list

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