Eric wrote:
>> rows:       64019
>> cols:       65916
>> cells:      4219876404

64019 * 65916 > signed 32bit integer so it overflows

is your system+grass 32 or 64 bit?

> Cell Count:  -75090892
> Null Cells:  2130552315
>
> A negative cell count? hmmm....

that may just be a cosmetic issue in the printf'ing of the variables.

the first thing I'd try is to go to line 124 in main.c and (1) remove
the two casts to (int), then (2) change the two %d to %ld.
(nCells and nNulls are defined as "long" in local_proto.h)


Hamish
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to