[GRASS-user] r.mapcalc map arithmetic and raster data types

Patton, Eric epatton at nrcan.gc.ca
Thu Jan 31 15:05:33 EST 2008


You can always "downgrade" a DCELL map,but using any other type 
>could result in a loss of precision which cannot subsequently be undone.

Ok, good; that's what I did (DCELL --> FCELL).

>> the resulting raster map was an INT map whose cell values were
>> all exactly zero. Why is this so? Is this because r.mapcalc math on
>> two DCELL maps can't be represented on 32-bit architecture?

>This makes no sense. Please provide the exact command used, and r.info
>output for all maps involved.

I can't seem to reproduce the problem now, so it's most likely user error.
If anything comes up again, I'll post the details.

Thanks,

~ Eric.


More information about the grass-user mailing list