[Originally posted by cocker68 on 2007-02-28 21:05:32-08]Hi,
even though I read carefully
this thread, I did not manage to copy
Date/Time Original into
GPS Date Stamp and
GPS Time Stamp.
I tried like this...
$ exiftool -datetimeoriginal -gpsdatestamp -gpstimestamp image.jpeg
Date/Time Original : 2007:02:19 00:13:30
$ exiftool "-gpstimestamp<datetimeoriginal" "-gpsdatestamp<datetimeoriginal" image.jpeg
Warning: Too many values specified (3 required) for GPS:GPSTimeStamp - image.jpeg
0 image files updated
1 image files unchanged
$ exiftool "-datetimeoriginal>gpstimestamp" "-datetimeoriginal>gpsdatestamp" image.jpeg
Warning: Too many values specified (3 required) for GPS:GPSTimeStamp - image.jpeg
0 image files updated
1 image files unchanged
... and many variants more, but without success.
I'd appreciate any hint and help
- Cocker :wq
[Originally posted by exiftool on 2007-03-01 12:53:06-08]Currently you have to define a pair of user-defined tags
to do this. You need to create a ".ExifTool_config" file
to add user-defined tags. See the
exiftool
config documentation for help with using the configuration file,
and see
this post for
the exact command line and configuration file to do what you want.
- Phil
[Originally posted by exiftool on 2007-03-01 12:55:30-08]
Oh sorry. You wanted to use DateTimeOriginal, so you will
need to change "CreateDate" to "DateTimeOriginal" in two
places in the config file in the post I mentioned.
- Phil
[Originally posted by cocker68 on 2007-03-01 20:09:30-08]I see, the method described in the
thread You mentioned works perfectly. Sorry for not having searched thoroughly enough.
My plan is to kind of
misuse GPSDateStamp and
GPSTimeStamp to overcome EXIF-spec's lack of a timezone-tag by storing UTC in there, and local time in the other timestamp-tags.
Thanks again for helping
- Cocker :wq
[Originally posted by exiftool on 2007-03-01 20:24:24-08]"
My plan is to kind of misuse GPSDateStamp and GPSTimeStamp to overcome EXIF-spec's lack of a timezone-tag by storing UTC in there, and local time in the other timestamp-tags."
Good plan. That is a real problem with the EXIF spec. What I have been doing myself is to violate the EXIF spec and add the timezone to the date/timetag, but I suppose other readers could complain about this. Currently, with ExifTool this must be done with the -n option to prevent the date/time from being reformatted. ie)
exiftool -n "-exif:datetimeoriginal=2007:03:01 15:22:00-05:00" image.jpg
- Phil
[Originally posted by cocker68 on 2007-03-08 08:50:20-08]And what is the difference between
GPSDateValue /
GPSTimeValue and
GPSDateStamp /
GPSTimeStamp then?
$ exiftool -list image.jpeg | grep GPS
GIFGraphicControlExtension GIFPlainTextExtension GPSAltitude GPSAltitudeRef
GPSAreaInformation GPSDOP GPSDateStamp GPSDateTime GPSDateValue
GPSDestBearing GPSDestBearingRef GPSDestDistance GPSDestDistanceRef
GPSDestLatitude GPSDestLatitudeRef GPSDestLongitude GPSDestLongitudeRef
GPSDifferential GPSImgDirection GPSImgDirectionRef GPSLatitude GPSLatitudeRef
GPSLongitude GPSLongitudeRef GPSMapDatum GPSMeasureMode GPSPosition
GPSProcessingMethod GPSSatellites GPSSpeed GPSSpeedRef GPSStatus GPSTimeStamp
GPSTimeValue GPSTrack GPSTrackRef GPSVersionID GTCitation GTModelType
GPS Version ID : 2.2.0.0
GPS Time Stamp : 15:6:15
GPS Date Stamp : 2004:07:04
GPS Date/Time : 2004:07:04 15:6:15
GPS Date Value : 2004:07:04
GPS Time Value : 16:06:15
Which of both variants should be used?
This
PDF only mentions
GPSDateStamp /
GPSTimeStamp.
- Cocker :wq
[Originally posted by exiftool on 2007-03-08 13:03:00-08]
The GPSDateValue/GPSTimeValue tags are user-defined composite tags
which translate either DateTimeOriginal or CreateDate (depending on
the definition) to a date and time value respectively. They were used
to allow setting of GPSDateStamp and GPSTimeStamp from other
date/time values.
As of ExifTool 6.79, these user-defined tags are no longer necessary,
and you can set the GPSDateStamp/GPSTimeStamp tags directly from
any other date/time tag.
- Phil
[Originally posted by cocker68 on 2007-03-08 14:45:38-08]
Ofcourse, Phil! How stupid I am... :-^
I admire Your patience to answer people's every single problem.
- Cocker :wq