Bug 293335 - GPX file without time stamps reports no datapoints
Summary: GPX file without time stamps reports no datapoints
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Correlator (show other bugs)
Version: 7.2.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-05 00:30 UTC by Kyle Altendorf
Modified: 2021-02-12 22:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0
Sentry Crash Report:


Attachments
Sample file without timestamps (23.23 KB, text/plain)
2012-02-05 00:32 UTC, Kyle Altendorf
Details
gpx file (42.89 KB, application/gpx+xml)
2021-02-11 10:34 UTC, mahikeulbody
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Altendorf 2012-02-05 00:30:12 UTC
Version:           2.1.1 (using KDE 4.7.4) 
OS:                Linux

When importing my first GPX file for geo-correlation (see attachment) digiKam reported that although the file was a GPX file it did not have any datapoints.  I understand that without timestamps the GPX file is useless but would still suggest that the error message be more explicit.  In my case the file was downloaded from mapmyhikes.com after recording on my Android phone using their app.

As always, thanks for all the great work everyone has put into this (and so many other) apps I use regularly.

Reproducible: Always

Steps to Reproduce:
1) Select images within digiKam.
2) Image -> Geo-Location
3) Select GPS Correlation tab
4) Load GPX files...  and select the attached file

Actual Results:  
Error message states:

The following GPX file could not be loaded:
---.gpx: File is a GPX file, but no datapoints were found

Expected Results:  
An error message stating that the file contains datapoints but no timestamp is present for correlation.
Comment 1 Kyle Altendorf 2012-02-05 00:32:41 UTC
Created attachment 68510 [details]
Sample file without timestamps
Comment 2 caulier.gilles 2012-02-05 08:46:17 UTC
Please try again with 2.5.0 release...

Gilles Caulier
Comment 3 Kyle Altendorf 2012-02-05 18:19:32 UTC
I installed 2.5.0 from Philips PPA.  The message is still the same.
Comment 4 caulier.gilles 2015-05-20 08:51:35 UTC
Kyle,

This file still valid using last kipi-plugins 4.10.0 ?

Gilles Caulier
Comment 5 caulier.gilles 2016-11-29 11:22:46 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 6 caulier.gilles 2020-08-03 04:50:23 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 7 mahikeulbody 2021-02-11 10:32:41 UTC
(In reply to caulier.gilles from comment #6)
> digiKam 7.0.0 stable release is now published:
> 
> https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/
> 
> We need a fresh feedback on this file using this version.
> 
> Best Regards
> 
> Gilles Caulier

I have the same problem with Digikam 7.2.0rc. Please see the attached file which has timestamps.
Comment 8 mahikeulbody 2021-02-11 10:34:04 UTC
Created attachment 135592 [details]
gpx file
Comment 9 mahikeulbody 2021-02-11 15:36:29 UTC
Sorry, please forget the last two comments (I don't know to remove them).
Comment 10 caulier.gilles 2021-02-11 15:47:53 UTC
Why  to forget the last 2 comments ? The problem is fixed with 7.2.0 ?

Gilles Caulier
Comment 11 mahikeulbody 2021-02-11 15:56:41 UTC
I have this message when loading a gpx file converted from a kml file. But the file I provided (attached file) have not timestamp, so my comment was wrong (I said "Please see the attached file which has timestamps").
Comment 12 Maik Qualmann 2021-02-11 20:52:30 UTC
The Geo-Correlation from digiKam doesn't do anything wrong here, your GPX file contains time in the header, but your trackpoints are all without time information. It's not about loading a track and displaying it on the map. But to assign images to the correct track point based on the creation time. With a GPX file that only consists of track points without time information, the assignment of the images cannot be made.

Maik
Comment 13 Maik Qualmann 2021-02-12 22:11:20 UTC
Git commit bc2a919f814ae1fcac18bae18abf150cd8c9e15c by Maik Qualmann.
Committed on 12/02/2021 at 22:10.
Pushed by mqualmann into branch 'master'.

change i18n to better explain the missing timestamps
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +2    -1    core/utilities/geolocation/geoiface/tracks/trackreader.cpp

https://invent.kde.org/graphics/digikam/commit/bc2a919f814ae1fcac18bae18abf150cd8c9e15c