bernhard: thuban/Extensions/svgexport TODO, 1.3, 1.4 svgmapwriter.py, 1.14, 1.15

cvs@intevation.de cvs at intevation.de
Mon Dec 20 11:09:00 CET 2004


Author: bernhard

Update of /thubanrepository/thuban/Extensions/svgexport
In directory doto:/tmp/cvs-serv3170/Extensions/svgexport

Modified Files:
	TODO svgmapwriter.py 
Log Message:
	* Extensions/svgexport/TODO: updated to add support for 
	raster layers and labels for 1.0.1.

	* Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
	Issue a warning now.


Index: TODO
===================================================================
RCS file: /thubanrepository/thuban/Extensions/svgexport/TODO,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- TODO	19 Dec 2004 11:34:25 -0000	1.3
+++ TODO	20 Dec 2004 10:08:58 -0000	1.4
@@ -1,6 +1,11 @@
-Todo file for Thuban svgexport Extension
+TODO file for Thuban svgexport Extension
 
-For 1.0.x, x>0:
+For 1.0.1:
+
+* Enable label export.
+* Enable Raster file export.
+
+For 1.0.x, x>1:
 
 * find out why the memory shapes in class Testobjectexport
   return points with negative values with projected_points

Index: svgmapwriter.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/svgexport/svgmapwriter.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- svgmapwriter.py	19 Dec 2004 10:14:38 -0000	1.14
+++ svgmapwriter.py	20 Dec 2004 10:08:58 -0000	1.15
@@ -336,12 +336,13 @@
     
     def draw_raster_layer(self, layer):
         """Draw the raster layer"""
-        # For now we cannot draw raster layers onto our VirtualDC
-        pass
+        # TODO: For now we cannot draw raster layers onto our VirtualDC
+        log(_("Warning: Raster layer not written as " +
+              "svgexport does not support this yet!\n"))
     
     def draw_raster_data(self, data, format="BMP"):
         """Draw the raster image in data onto the DC"""
-        # For now we cannot draw raster data onto our VirtualDC
+        # TODO: For now we cannot draw raster data onto our VirtualDC
         pass
     
     def RenderMap(self, selected_layer, selected_shapes):





More information about the Thuban-devel mailing list

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