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-08-02 10:17:52-07 by janmartin
"Date Modified" as shown in Nautilus equals "Geotime value" in UTC?
Hi all,

in Nautilus filemanager (on Ubuntu Jaunty Linux) the "Date Modified" shown is e.g:
2009-08-01 19:29:29

I run exiftool on files without exif tags at all:
exiftool -v2 -overwrite_original -geotag 20090801.gpx '-geotime<${FileModifyDate}' '-DateTimeOrigin +al<FileModifyDate' -P /pictures > 20090801_exiftool.log

However I get this:

from gpx file, RIGHT:
GPS track start: 2009:08:01 19:21:53 UTC
GPS track end: 2009:08:01 19:55:09 UTC

from picture, WRONG by timezone:
Geotime value: 2009:08:01 17:29:29 UTC

Geotime value is WRONG by 2 hours.
Which is my timezone: 1 hour for Germany, 1 hour for DLS (Daylight Saving).
So no geotagging happens because "Geotime value" is outside of the track times.

How to make this work?
Both the UTC time in the .gpx file and "Date Modified" of the picture as shown by Nautilus are correct.
So I do not want to change them.

Full output:
======== /home/me/Documents/pentaone-unboxing/20090801/panos/00000001.jpg Setting new values from /home/me/Documents/pentaone-unboxing/20090801/panos/00000001.jpg Geotime value: 2009:08:01 17:29:29 UTC Writing MIE-Doc:DateTimeOriginal Writing Kodak:DateTimeOriginal if tag exists Writing CanonRaw:DateTimeOriginal if tag exists Writing XMP-exif:DateTimeOriginal if tag exists Writing ExifIFD:DateTimeOriginal Rewriting /home/me/Documents/pentaone-unboxing/20090801/panos/00000001.jpg... Editing tags in: APP0 APP1 CIFF ExifIFD File IFD0 JFIF MIE-Doc MakerNotes XMP Creating tags in: APP1 ExifIFD File IFD0 MIE-Doc JPEG APP0 (14 bytes): Rewriting JFIF Creating APP1: Creating IFD0 ExifByteOrder = MM + IFD0:XResolution = '72' (mandatory) + IFD0:YResolution = '72' (mandatory) + IFD0:ResolutionUnit = '2' (mandatory) + IFD0:YCbCrPositioning = '1' (mandatory) Creating ExifIFD + ExifIFD:ExifVersion = '0220' (mandatory) + ExifIFD:DateTimeOriginal = '2009:08:01 19:29:29' + ExifIFD:ComponentsConfiguration = '1 2 3 0' (mandatory) + ExifIFD:FlashpixVersion = '0100' (mandatory) + ExifIFD:ColorSpace = '65535' (mandatory) JPEG DQT (65 bytes): JPEG DQT (65 bytes): JPEG SOF0: JPEG DHT (26 bytes): JPEG DHT (68 bytes): JPEG DHT (24 bytes): JPEG DHT (42 bytes): JPEG SOS
Direct Responses: 11270 | Write a response