[gdal-dev] Uint16 geotiff
Nikolaos Hatzopoulos
nhatzop at gmail.com
Wed Sep 10 15:11:51 PDT 2014
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 <warmerdam at 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" <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/3da7bf8a/attachment.html>
More information about the gdal-dev
mailing list