thuban-1.1.0-4.exe

Bernhard Reiter bernhard at intevation.de
Sun May 14 17:54:02 CEST 2006


Am 14. May 2006 um 17:44:49 schrieb Didrik Pinte:
> I'll check the version tomorrow on the dev-laptop but i'm nearly sure
> they are the same...

I also guess this will not be the problem, 
but sometimes we have to check the less likely things.

> It's really strange. I've rebuil thuban with the new gdal 1.3.2. It's
> working fine on the laptop too. 

About still shows 1.3.1.0 for gdal here.

> What can be the problematic link ? 

Maybe you have some environment variables that I do not have or .dlls.

> I'll try to put a new copy of the build environment somewhere for
> downlad.

Thanks.

> I have a specific problem when loading raster files on Thuban windows
> version. I need to change the "Mask type" in the properties of the
> raster from bitmap to alpha in order to see the raster correctly. Do you
> have something shown when opening the raster ? 

No, I cannot see anything.
But I thought opening the raster session from Thuban-Data-1.0.0 was
working for you?

I think Jonathan added the alpha code and there was a difference
between the various wx version in how to handle the mask.

> Can you test the gdal files using a simple python script. Something like
> this :
> --------------------------------
> import gdal
> rast = gdal.Open('iceland.tiff')
> print rast.GetRasterCount()
> --------------------------------

Sure.
I need to go into the C:\Programme\Thuban\gdal\pymod
directory for the import to work.

import gdal
rast = gdal.Open('C:\Programme\Thuban\Data\iceland\island.tif')
print rast.GetRasterCount()

>>> print rast.GetRasterCount()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: Dataset instance has no attribute 'GetRasterCount'


	Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060514/02727268/attachment.bin


More information about the Thuban-devel mailing list

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