[gdal-dev] Wrong statistics from gdalinfo

Rahkonen Jukka (Tike) jukka.rahkonen at mmmtike.fi
Wed Aug 27 06:17:58 PDT 2014


> Jukka,
> 
> I suspect the file has been updated after first statistics have been computed, or
> perhaps they have been computed in -approx_stats mode.
> 
> gdalinfo -stats doesn't recompute statistics if they are already stored in the file.

All right, the statistics are how they are because the big GeoTIFF is created from this VRT file
http://latuviitta.kapsi.fi/data/dem10m/dem_10m.vrt

The wrong statistics seem to be stored into VRT. I do not know where the statistics came into VRT. The VRT has been created with gdalbuildvrt. 

-Jukka-


More information about the gdal-dev mailing list