> It would be nice if gdalinfo -stats would also trigger forced recomputation > of exact statistics. Currently there is no difference between gdalinfo with > and without -stats if statistics already exist in metadata and > STATISTICS_APPROXIMATE=YES is absent (standard case for existing data): > -stats has no effect here. Forced recomputation would be a change in the > behaviour of gdalinfo -stats.
gdalinfo already reports existing statistics, so indeed gdalinfo -stats could call GDALComputeRasterStatistics() to force regeneration. -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev