On jeudi 2 août 2018 20:17:53 CEST Rahkonen Jukka (MML) wrote: > Hi, > > Referring to this question on gis.stackexchange > https://gis.stackexchange.com/questions/291554/how-to-retrieve-exif-tags-fr > om-a-geotiff-with-gdal. > > The GTiff driver manual https://www.gdal.org/frmt_gtiff.html informs me that > "Starting with GDAL 1.10, EXIF metadata can be extracted from the file, and > will be stored the EXIF metadata domain" but is there any example about > how to do it? I had a try by downloading this image from GDAL autotests > https://raw.githubusercontent.com/OSGeo/gdal/master/autotest/gcore/data/exi > f_and_gps.tif. > > If I run > gdal_translate -of GTiff exif_and_gps.tif exif_and_gps_copy.tif > > and test the result with > gdalinfo -listmdd exif_and_gps_copy.tif > > it seems that the EXIF metadata domain and tags are dropped.
Jukka, Yes, this is read-only support for EXIF in the GTiff driver. Write-support in the JPEG driver was added in 2.3.0 Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
