I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time
for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or
on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news,
I hope these links will serve you well.
You should understand that GPS tags may exist in either
EXIF or XMP information, but the format and names of
some tags are slightly different. GPSDateTime is an XMP
tag. In EXIF, this is equivalent to the two tags GPSDateStamp
and GPSTimeStamp. If you write these two tags, exiftool
will create a Composite GPSDateTime value when reading.
See the GPS, XMP and Composite tag name documentation
Posted on 2009-05-26 20:22:06-07
by snahin response to 10832
Re: Copy 'datetimeoriginal' to 'gpsdatetime'?
ok, I consulted the Composite tag name documentations.
Not so surei f I understand it all. So the tag 'datetimeoriginal' is a composite of the tags 'datecreated' and 'timecreated'.
The thing is that I cannot find a tag 'timecreated' in neither the X3F nor the corresponding TIF file, so I figured out a way to extract the values for 'datecreated' and 'timecreated' from 'datetimeoriginal' like this (same for the X3F):
exiftool -datetimeoriginal img110500.tif -d %H:%M:%S
Date/Time Original : 10:51:23
exiftool -datetimeoriginal img110500.tif -d %Y:%m:%d
Date/Time Original : 2009:01:11
At least I've got both values seeked for extracted.
I just need to figure out how to populate the two tags 'GPSdatestamp' and 'GPStimestamp' with the values extracted above.
Tried this but that does not really make much sense:
The combination of the two should then result in a Composite GPSdateTime value, right?
For me, this is a hard nut to crack (of course, also because I don't really comprehend it.
I know I am close and hope you give me a good hint.