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" <[email protected]> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to