sensela.blogg.se

Using exiftool to set iptc date equal to exif date
Using exiftool to set iptc date equal to exif date









using exiftool to set iptc date equal to exif date

To have an GDAL independent point of view, I use Phil Harveys exiftool. In the source file are the domains IMAGE_STRUCTURE and EXIF present. Y - use GDALSetMetadataItem(h_dataset, key, value,"EXIF") N - use GDALSetMetadataItem(h_dataset, key, value, NULL)

using exiftool to set iptc date equal to exif date

  • N|Y parameter to choose the metatdata domain for storag.
  • N|Y parameter to remove the EXIT_ prefix from the tag N - don do it, Y - yes remov it.
  • list the content of metadata domains of the resulting image.
  • try to copy the tags of the EXIF domain with 4 different settings.
  • list the content of metadata domains of the source image.
  • make a copy of it with the help of GDALCreateCopy(.).
  • To reproduce the issue I've written a small C test program that takes a source GTiff, What is the right procedure to copy / set these tags into the new file? Steps to reproduce the problem. GDALSetMetadataItem(h_dataset, key, value, "EXIF"),Īs proposed in the GDAL-GeoTiff documentation section Metadata, to copy the tags from the source file, the EXIF domain is empty. When I use GDAL to copy the dataset via GDALCreateCopy(.) for further work all additional tags from the EXIF domain are lost. I use GDAL version 2.0.2 on a device running debian 8. Each camera uses geo-tagging and stores position and time meta-data in exif tags. I work on toolkit that automatically classifies data from a bunch of aerial cameras.











    Using exiftool to set iptc date equal to exif date