[gdal-dev] gdalwarp add the stats to a raster

Kyle Shannon kyle at pobox.com
Wed Jul 29 09:59:00 PDT 2015


Andrea,

On Tue, Jul 28, 2015 at 10:51 PM, Andrea Peri <aperi2007 at gmail.com> wrote:
> Hi,
> I see the gdalwarp has no the parameter (-stats) as gdal_translate to
> force the add of statistics.
>
> But I dont understand if gdalwarp will add however the stats to a raster or not.

gdalwarp does not, but

gdalinfo -stats warped.tif

will recompute the stats for you.
>
> Thx.
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

kss

-- 
Kyle


More information about the gdal-dev mailing list