missing value not excluded from range in IDRISI
When using GDAL 1.9.1 (via writeGDAL or writeRaster in R packages rgdal or raster) to write RST (IDRISI), the missing value flag is not excluded from the range of values, leading to incorrect header files like the one below (in this case the "min value" and "display min" should have been 10, not -9999 the missing value flag).
file format : Idrisi Raster A.1
file title :
data type : real
file type : binary
columns : 10
rows : 10
ref. system : latlong
ref. units : deg
unit dist. : 1
min. X : -180.0000000
max. X : 180.0000000
min. Y : -90.0000000
max. Y : 90.0000000
pos'n error : unspecified
resolution : 18.0000000
min. value : -9999
max. value : 100
display min : -9999
display max : 100
value units : unspecified
value error : unspecified
flag value : -9999
flag def'n : missing data
Change History
(4)
Milestone: |
→ 2.0.0
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Description: |
modified (diff)
|
r25187 "Idrisi: ignore nodata value when computing min/max of CreateCopy()'ed dataset; also avoid setting unset values of mean and stddev to PAM (#4878)"