[GRASS-user] Re: r.in.gral with AAIGrid file

Etsushi Kato ek.kato at gmail.com
Wed May 30 01:30:00 EDT 2007

Hi again,

On 5/30/07, Etsushi Kato <ek.kato at gmail.com> wrote:
> I'm now trying to import AAIGrid/Arc/Info ASCII Grid file.
> When importing the raster file with r.in.gdal, some values with >=
> around 32768 becomes negative integer in grass, (e.g. 36055 -> -29481,
> 52560 -> -12976, 33736 -> -31800 and so on).
> Could someone please tell me how to import these values as positive
> integer with r.in.gdal?

Anyway, I managed to import the data with modifying
gdal-1.4.1/frmts/aaigrid/aaigriddataset.cpp to use Int32 instead of

Etsushi Kato
ek.kato at gmail.com

More information about the grass-user mailing list