[Gdal-dev] Problem with AAIGrid's large integer

Etsushi Kato ek.kato at gmail.com
Wed May 30 04:45:56 EDT 2007


Hi,

I've found that gdal-1.4.1/frmts/aaigrid/aaigriddataset.cpp reads data
with integer >= 32768 as negative value (see
http://grass.itc.it/pipermail/grassuser/2007-May/039832.html).  To
import the data into grass, I need to modify aaigriddataset.cpp to use
Int32 instead of Int16 as in the attached file.

Is there any reason using Int16 for aaigrid format?  I hope this will
be fixed in the next version of gdal.

Cheers,
-- 
Etsushi Kato
ek.kato at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aaigrid.diff
Type: application/octet-stream
Size: 1192 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070530/20a3ee7b/aaigrid.obj


More information about the Gdal-dev mailing list