joey: thuban/Extensions/wms wms.py,1.12,1.13
cvs@intevation.de
cvs at intevation.de
Tue Apr 26 17:04:24 CEST 2005
Author: joey
Update of /thubanrepository/thuban/Extensions/wms
In directory doto:/tmp/cvs-serv7512
Modified Files:
wms.py
Log Message:
Adjusted the render function to the modified render engine
Index: wms.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/wms/wms.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- wms.py 20 Nov 2004 21:26:35 -0000 1.12
+++ wms.py 26 Apr 2005 15:04:22 -0000 1.13
@@ -54,7 +54,10 @@
ymax = (offy - 0) / scale
img, format = layer.GetMapImg(width, height, (xmin, ymin, xmax, ymax))
- renderer.draw_raster_data(img, format)
+
+ data = (width, height, (img, None, None))
+
+ renderer.draw_raster_data(layer, 0,0, data, format)
return ()
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)