[GRASS-user] integration of sample.c algorithms into r.resample

Maciej Sieczka tutey at o2.pl
Mon Aug 14 07:34:14 EDT 2006


Glynn Clements napisa?(a):
> Maciej Sieczka wrote:

>>> Internally, GRASS has three types: CELL (C "int", typically 32-bit
>>> signed integer), FCELL (C "float", typically 32-bit IEEE
>>> single-precision floating-point) and DCELL (C "double", typically
>>> 64-bit IEEE double-precision floating-point).
>> OK, thanks for clarification. In that case, what are the *most*
>> appropriate GDAL datatype equivalents for Grass's CELL, FCELL and DCELL?
> 
> AFAICT, the GDAL types would be Int32, Float32 and Float64
> respectively.

OK, thanks. I'd like to put it as a hint in the r.out.gdal manual.

Maciek




More information about the grass-user mailing list