[GRASS-user] r.univar: total null and non-null cells: -1580967296

Hermann Peifer peifer at gmx.eu
Tue Aug 23 02:48:58 EDT 2011


Hi,

r.univar gives me negative cell counts, whereas r.stats -c produces 
correct results (I hope ;-):

(...)
41 118441
42 193
43 135
44 8189
* 2704177984

I guess this is the same integer overflow issue reported earlier [1]. I 
am just a bit puzzled that after changing to a 64-bit Linux OS, results 
of r.stats seem to be correct, but not those of r.univar.

Am I missing something, perhaps an upgrade? (I'm using GRASS 6.4.0.)

Hermann

[1] http://lists.osgeo.org/pipermail/grass-user/2009-October/052574.html


More information about the grass-user mailing list