I have found out that on debian lenny ascii rasters with null values defined
as -9999 are not imported correctly.
I have asked on gdal-dev if this behavior is normal, and found out that this
bug is specific to debian lenny.
When I upgraded to the python-gdal version supplied with debian squeeze I
found out that behavior is stoped.
I provide here a link to the discussion I started in gdal-dev mailing list.
I think a patch should be supplied for people who don't to install packages
from squeeze at the moment.
Here is the link to the detailed discussion on gdal-dev:
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gdal depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libgdal1-1.5.0 1.5.2-3 Geospatial Data Abstraction
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii python 2.5.2-3 An interactive high-level
ii python-central 0.6.8 register and build utility for
ii python-numpy 1:1.1.0-3 Numerical Python adds a fast
python-gdal recommends no packages.
python-gdal suggests no packages.
-- no debconf information
Imagine there's no countries
It isn't hard to do
Nothing to kill or die for
And no religion too
Imagine all the people
Living life in peace
You all must read 'The God Delusion'
when one person suffers from a delusion it is called insanity. When many
people suffer from a delusion it is called religion."
Robert Pirsig, Zen and the Art of Motorcycle Maintenance
Pkg-grass-devel mailing list