Raster cell coount returns incorrect value #10891
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Build/Install
Related to compiling or installing QGIS
Author Name: Tim Sutton (Tim Sutton)
Original Redmine Issue: 832
Redmine category:build/install
Assignee: Tim Sutton
Original report submitted by Enrico Chiaradia:
Currently I use the "ganymede" release and I have to submit this
problem: when I load an ASCII raster grid (see attached file), I find in
metadata file properties many informations like mean value and the
number of cells with value different from no-data value. At the moment,
these informations are not correct. In the attached file, you can see
that the total number of cell with a different value from nodata are
100; Qgis reports only 99 and this problem affects also average value.
I hope that this information is useful and also I wish to actively
contribute to the project in the future.
Kindly Regards
Enrico Chiaradia
University of Milan, Italy.
NCOLS 10
NROWS 10
XLLCENTER 1535380.000000
YLLCENTER 5083260.000000
DX 10
DY 10
NODATA_VALUE -9999
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9
PROJECTION
NOTES
The text was updated successfully, but these errors were encountered: