Bug 174086 - GPX time parsing problems
Summary: GPX time parsing problems
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Correlator (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-02 10:09 UTC by Christoph Schmid
Modified: 2017-08-18 19:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
GPX file with time tags GPSSync cannot parse (65.06 KB, application/gzip)
2008-11-02 10:13 UTC, Christoph Schmid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Schmid 2008-11-02 10:09:50 UTC
Version:            (using KDE 4.1.2)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Unlisted Binary Package

I've created some GPS .gpx files. The kipi-plugins correlator 
seems to be unable to parse time strings of the form
<time>2008-10-12T07:42:55Z</time>
which is a valid xsd:dateTime UTC time. When I remove the 'Z' at the 
end, parsing works fine.
Comment 1 Christoph Schmid 2008-11-02 10:13:36 UTC
Created attachment 28276 [details]
GPX file with time tags GPSSync cannot parse

The attached file contains xsd:dateTime tags of the form
<time>2008-10-12T07:42:55Z</time>. GPSSync seems to be unable to parse these tags. Removing the 'Z' at the end helps.
Comment 2 mark 2009-05-12 19:21:47 UTC
I have this same problem as well. I'm running Version 0.10.0
Using KDE 4.2.2 on Kubuntu 9.04.  If I remove the 'Z', all the images correlate fine, with the 'Z', in the same format you have listed, GPSSync gives every image the first set of coordinates listed in the GPX file.
Comment 3 Michael G. Hansen 2009-12-03 21:58:22 UTC
I can not reproduce your problem. Could you try again with kipi-plugins 0.9? There have been some improvements in the timezone handling. Also, please make sure that your setting for "Max time gap" is low (e.g. 2 secs).

It would also be useful if you could tell me which timezone you are in and which locale you are using. Is the number of points parsed from the gpx file the same with and without the 'Z'?

Do not hesitate to post a few screenshots.

Michael
Comment 4 Christoph Schmid 2009-12-05 13:13:30 UTC
I tried again with kipi-plugins 0-9. And indeed, it seems to work fine now. I took the exact same file I attached to this bug and tried to correlate my photos again and it worked perfectly.
Comment 5 Johannes Wienke 2009-12-05 13:18:04 UTC
SVN commit 1058954 by jwienke:

Closing bug 174086.

BUG: 174086

 M  +2 -2      NEWS  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1058954