[gdal-dev] Uint16 geotiff

Frank Warmerdam warmerdam at pobox.com
Wed Sep 10 10:36:53 PDT 2014


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" <nhatzop at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140910/cc9d02c9/attachment.html>


More information about the gdal-dev mailing list