[Gdal-dev] gdal : python Numeric and numpy

Didrik Pinte dpinte at itae.be
Wed May 10 12:26:23 EDT 2006


Has some of you probably know it, there are some changes in the
landscape with Numeric and numpy.

I've made a little patch to gdalnumeric in order to support the new
numpy library but the changes seems to be more important.

Here is the problem I met. The following files were generated with
exactly the same code. 

Correct file : generated with Python 2.3, gdal 1.3.1-5 and numeric
24.2-2 under Debian/Sid
http://itae.be/downloads/intrusion.tiff
http://itae.be/downloads/intrusion.tfw

Problematic file : generated with Python 2.4, gdal 1.3.1 and numpy 0.9.6
under Windows XP
http://itae.be/downloads/intrusion_1.tiff
http://itae.be/downloads/intrusion_1.tfw

The files are created using the .WriteArray method. The bad file seems
to have all the correct information but not at the right place.

Does anybody already have an idea on the cause of the problem ?

Didrik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060510/0ff09608/attachment.bin


More information about the Gdal-dev mailing list