Bug 193732 - Correlator seems to adjust GPX times by local time
Summary: Correlator seems to adjust GPX times by local time
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Correlator (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-23 08:55 UTC by Rick Wagner
Modified: 2022-01-12 07:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Wagner 2009-05-23 08:55:06 UTC
Version:           0.10.0 (using KDE 4.2.3)
OS:                Linux
Installed from:    Fedora RPMs

My system is in GMT-7 timezone.  I had some pictures which I originally imported into KDE 3.5.? version Digikam, and geolocated with the correlator using .gpx files.  In that version, setting the timezone to GMT-7, the images correlated correctly.

Due to a disaster of my own doing, I lost the above edits.  Fortunately, I still had the original media.  So I took the opportunity of my disaster to upgrade to KDE4.2 and DigiKam 0.10.0.  When I attempted to again correlate the same images, many would not correlate; and those that did were wrong.  Looking at the times, it seemed that the correlations were 7 hours off.  So I set the timezone to GMT-0, and the images correlated correctly.

To double check, I took the exact same (gelocation removed) JPG's and .gpx files back to another Fedora-8 (KDE 3.5, older digikam), and they correlated with GMT-7.

It appears that in 0.10.0 the correlator is taking local timezone into account when loading the GPX files.
Comment 1 Milan Knížek 2009-06-09 23:03:24 UTC
I can confirm this behaviour also in Ubuntu 9.04 amd64 (KDE 4.2.2, GPS Sync 0.2.0). HW clock is set to GMT, local time zone is GMT+2 (incl. daylight saving time).

I suspect GPS Sync uses hw clock instead of local time and in this particular case the Time Zone adjustment does not make sense.
Comment 2 Michael G. Hansen 2009-11-26 19:20:33 UTC

*** This bug has been marked as a duplicate of bug 214210 ***
Comment 3 caulier.gilles 2022-01-12 07:31:23 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=214210