I would like to edit the metadata attributes of an tiff file. In particular the TIFFTAG attributes as described here.
In Python it's a piece of cake:
from osgeo import gdal ras = gdal.Open('test.tif', gdal.GA_Update) ras.SetMetadataItem('TIFFTAG_DATETIME', '2016:08:12 13:00:41') ras = None
Or you just use
gdal_edit.py -mo TIFFTAG_DATETIME='2016:08:12 13:00:41' test.tif
Up until Version 0.5.27
rgdal seemed to have functions available for this (see here).
Does anyone know whether this can still be done?