[Thuban-list] problems loading/displaying raster images
Moritz Lennert
mlennert at club.worldonline.be
Mon Jul 7 15:58:10 CEST 2003
Hello,
I'm having trouble with raster images. After removing one version of the
GDAL library (I had two installed), I got Thuban to recognize the
existance of the other on my machine, "About" now gives me: GDAL 1.1.8.0.
However, when I try to load/visualize raster data, I only get an empty
screen. I've tried with the sample Iceland data set (loading the
pre-established session named "iceland_sample_raster.thuban") and with a
landsat image in tif format (from http://glcf.umiacs.umd.edu/index.shtml),
and both result in the following error message:
Traceback (most recent call last):
File "/usr/lib/thuban/Thuban/UI/view.py", line 390, in OnPaint
self.do_redraw()
File "/usr/lib/thuban/Thuban/UI/view.py", line 436, in do_redraw
selected_layer, selected_shapes)
File "/usr/lib/thuban/Thuban/UI/renderer.py", line 340, in RenderMap
self.render_map(map)
File "/usr/lib/thuban/Thuban/UI/renderer.py", line 102, in render_map
self.draw_raster_layer(layer)
File "/usr/lib/thuban/Thuban/UI/renderer.py", line 214, in
draw_raster_layer
"", (width, height))
SystemError: error return without exception set
In the Iceland case, when I remove the raster layer, all the vector layers
appear on the screen.
If I try to load the Iceland raster on its own, Thuban seg faults (whereas
with the landsat image on its own it gives the above error message).
Moritz
More information about the Thuban-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)