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.
Posted on 2009-05-26 16:28:34-07 by snah
Copy 'datetimeoriginal' to 'gpsdatetime'?
Hi Phil,
almost there, I'd just like to adjust the GPS-time-tags.

I am trying to copy the tag 'datetimeoriginal' into the tag 'gpsdatetime' in the same file using this command:
exiftool -v "-DateTimeOriginal>GPSDateTime" img110504.tif

To command is processed but the gps-datetime is not there.

Reason:
The images were taken of Curling-Sports-Event within the same ice-rink (location).
The GPS-data and the date is the same for all images, only the time changes for each image.

I was hopeing to be able to use the tag 'datetimeoriginal' as it is equal to the tag 'GPSdatetime'.
The tags 'GPSDatestamp' and 'GPSTimestamp' are not populated yet.
Do they depend on each other?
GPSVersionID : 2.2.0.0 GPSLatitudeRef : North GPSLatitude : 46 deg 25' 48.97" GPSLongitudeRef : East GPSLongitude : 9 deg 45' 51.07" GPSAltitudeRef : Above Sea Level GPSAltitude : 1851 m GPSSatellites : 0 GPSMapDatum : WGS-84 Aperture : 11.0 GPSAltitude : 1851 m Above Sea Level GPSLatitude : 46 deg 25' 48.97" N GPSLongitude : 9 deg 45' 51.07" E GPSPosition : 46 deg 25' 48.97" N, 9 deg 45' 51.07" E
(note: the 'aperture' sits right in the middle.)

How can I accomplish to copy the 'datetimeoriginal' into 'gpsdatetime'?

PS: Well, probably nobody would ever notice the time-difference, I mostly very curious about handling time related values.
Thanks, Hans.
Direct Responses: 10832 | Write a response