Opened 9 years ago
Closed 9 years ago
#5918 closed defect (duplicate)
gdalinfo Stats Overflow?
Reported by: | rbarnes | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I run gdalinfo -approx_stats FILE
where FILE is 161190x104424.
In the metadata, I get the following output:
STATISTICS_HISTOBINVALUES=-2147483648|0|0|0|0|0|0|0|0|0|0|469012527|1599206|0 ...
That first value is the minimum value of an unsigned 4-byte integer. My expectation is that there would be a positive number here, or a zero. Is this negative value meant to indicate something? If so, is it possible to choose an easier-to-recognize negative number?
Note:
See TracTickets
for help on using tickets.
Duplicate of #5159 that is addressed by https://trac.osgeo.org/gdal/wiki/rfc57_histogram_64bit_count which should be adopted in next few days.