I am trying to write custom metadata to a Geotiff file using:
if dataset:
driver = gdal.GetDriverByName("GTiff")
dst_ds = driver.CreateCopy('result_tiff', dataset, strict=0,
options=["PROFILE=GDALGeoTIFF"]
This will eventually be incoorperated into a Tkinter application where users can add and edit metadata in image files. I read on https://svn.osgeo.org/gdal/tags/1.6.3/gdal/frmts/gtiff/frmt_gtiff.html that GDAL custom tags may be written using PROFILE=GDALGeoTIFF. I haven't found an example of how to do so.
Does anyone have any idea?
Best Answer
How to add metadata into existing TIFF:
Check the result with gdalinfo