<div dir="ltr"><div>Hi</div><div><br></div><div>I am trying to convert a "normal" tiff file into a COG. For that I am using an intermediate vrt file to add the geolocation parameters, and finally copy the vrt into a COG.</div><div>I am doing it in C++, but it should be similar doing it on the command line I hope. (In some cases I am using also other parameters of the gdalbuildvrt).<br></div><div><br></div><div>My problem is how are the "magic words" to set the TIFFTAG_* (like TIFFTAG_DATETIME) in the final COG. I guess I could use the option "-oo" for the options in GDALBuildVRT, or in the options of the method "CreateCopy" for COG driver.</div><div>Is that doable that way? Should I prefix "TIFFTAG_..." with something like "GDALMETADATA:"? (I tried, unsuccessfully)<br></div><div>Is that the same for AREA_OR_POINT?<br></div><div><br></div><div>Thanks.<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div><div>.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__</div></div></div></div></div></div>