gdal translate can not add the TIFFTAG_MINSAMPLEVALUE TIFFTAG_MAXSAMPLEVALUE the specific tag are readonly
see: http://www.gdal.org/frmt_gtiff.html On Wed, Sep 10, 2014 at 10:36 AM, Frank Warmerdam <warmer...@pobox.com> wrote: > Gdalwarp generally does not propagate metadata from the source(s) to the > output file. One approach is to use gdal_translate after to re-add desired > metadata. Alternatively you could precreate the output file and populate > it with metadata. I often do this part in python. > > Best regards, > Frank > On Sep 10, 2014 10:17 AM, "Nikolaos Hatzopoulos" <nhat...@gmail.com> > wrote: > >> Dear All, >> >> so I have an RGB image in tiff format with uint16 >> when I use gdalwrap the TIFFTAG_MINSAMPLEVALUE >> and TIFFTAG_MAXSAMPLEVALUE are magicaly disappearing >> from the result image >> >> WHYYY??? >> >> --Nikos >> >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev