Bug 370263 - Gpx files open but nothing is displayed
Summary: Gpx files open but nothing is displayed
Status: RESOLVED DUPLICATE of bug 419998
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 2.0 (KDE Applications 16.08)
Platform: Debian testing Linux
: NOR normal
Target Milestone: 2.2 (KDE Applications 17.04)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 21:10 UTC by Samuel Gilbert
Modified: 2020-04-17 22:09 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
GPX file (282.49 KB, application/x-gpx+xml)
2017-03-10 07:37 UTC, Olivier Carton
Details
Screenshot of Marble 1.9.2 showing GPX file (1.81 MB, image/png)
2017-03-10 07:39 UTC, Olivier Carton
Details
Screenshot of Marble 2.1.0 (NOT) showing the track of the GPX file (1.48 MB, image/png)
2017-03-10 07:41 UTC, Olivier Carton
Details
Highlight to show that the track is there, but barely visible. (117.19 KB, image/png)
2017-03-10 14:51 UTC, Stefan Bauer
Details
Marble 2.0.1 Does show GPX tracks (1.11 MB, image/png)
2017-03-10 16:22 UTC, Samuel Gilbert
Details
GPX file containing c.a. 100 short routes (232.29 KB, application/x-gpx+xml)
2017-08-17 20:29 UTC, Tom Hardy
Details
KML file containing ~100 short routes (166.98 KB, application/vnd.google-earth.kml+xml)
2017-08-17 20:31 UTC, Tom Hardy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Gilbert 2016-10-07 21:10:54 UTC
In the past, I have used Marble to view GPX tracks.  This was a very useful feature.  The File Open dialog still *.gpx files when the Filter is set to "All Supported Files" or "GPS Data".  However, opening a file has absolutely no effect.  Nothing is displayed on the map.  I see no change in the side panels.

Reproducible: Always

Steps to Reproduce:
1. Launch Marble
2. In the File menu, select Open
3. Select any *.gpx file

Actual Results:  
Nothing from the gpx file is displayed on the map

Expected Results:  
A line string or independent waypoints should appear on the map
Comment 1 Olivier Carton 2017-03-06 15:23:04 UTC
I have exaclty the same bug with marble 16.12.2.
Comment 2 Stefan Bauer 2017-03-09 20:41:41 UTC
Could you please check with a well-known GPX file that there is actually nothing displayed? (I.e. load a GPX file with a known track and zoom close the location of the track.)

Tracks are currently drawn with a 1px wide white line which is easily overlooked. I was considering to file a bug about that fact, maybe this one is about the same issue.
Comment 3 Olivier Carton 2017-03-10 07:37:52 UTC
Created attachment 104484 [details]
GPX file

GPX file used for trials.
Comment 4 Olivier Carton 2017-03-10 07:39:45 UTC
Created attachment 104485 [details]
Screenshot of Marble 1.9.2 showing GPX file
Comment 5 Olivier Carton 2017-03-10 07:41:32 UTC
Created attachment 104486 [details]
Screenshot of Marble 2.1.0 (NOT) showing the track of the GPX file
Comment 6 Olivier Carton 2017-03-10 07:44:50 UTC
   I have tried to zoom a lot and I do not see the track
of the GPX file.  However, I am not familiar with Marble.
I may have missed something to make the track show up.
Comment 7 Stefan Bauer 2017-03-10 14:44:24 UTC
(In reply to Olivier Carton from comment #6)
>    I have tried to zoom a lot and I do not see the track
> of the GPX file.  However, I am not familiar with Marble.
> I may have missed something to make the track show up.

From your screenshots I infer that you're facing the issue that I was talking about. The track _is_ displayed, but with a very thin white line.
Comment 8 Stefan Bauer 2017-03-10 14:51:40 UTC
Created attachment 104494 [details]
Highlight to show that the track is there, but barely visible.
Comment 9 Olivier Carton 2017-03-10 15:09:34 UTC
 Now that you mention it, I can see the track but it is indeed
very thin.  I had never noticed before that it was indeed drawn.
I think it should be more visible at least with a more visible color
like red and also maybe thicker.
Comment 10 Samuel Gilbert 2017-03-10 16:22:18 UTC
Created attachment 104496 [details]
Marble 2.0.1 Does show GPX tracks

To further verify, I used the satellite background layer to make it easier to see the line.

The GPX tracks is indeed displayed.

I would suggest making the default style of the line wider and a brighter color such as #FF00FF.

I wasn't able to find any way to change the style of GPX tracks.  Is there such a feature in Marble, or should I make a feature request?
Comment 11 Olivier Carton 2017-03-13 07:33:23 UTC
  Now that have realized that the track is indeed drawn, 
I think that there is another issue.

  In older version of Marble (1.9.2 for instance), loading a GPX file 
(directly in Marble or from Dolphin) makes Marble zoom in and change 
the focus so that the track uses most of the window and is really visible.

  In Marble 2.1.0, the focus is not changed and the view is still on
the starting view of the globe.  This has two effects.

   + this lack of feedback from Marble lets the user think that the track 
     has not been drawn.
   + the user must know where the track is on earth because Marble does
     not zoom on it.  This is even made more difficult by the fact that
     the track is barely visible.
Comment 12 Stefan Bauer 2017-03-13 19:12:39 UTC
(In reply to Olivier Carton from comment #11)
>   Now that have realized that the track is indeed drawn, 
> I think that there is another issue.
> 
>   In older version of Marble (1.9.2 for instance), loading a GPX file 
> (directly in Marble or from Dolphin) makes Marble zoom in and change 
> the focus so that the track uses most of the window and is really visible.
> 
>   In Marble 2.1.0, the focus is not changed and the view is still on
> the starting view of the globe.  This has two effects.
> 
>    + this lack of feedback from Marble lets the user think that the track 
>      has not been drawn.
>    + the user must know where the track is on earth because Marble does
>      not zoom on it.  This is even made more difficult by the fact that
>      the track is barely visible.

Yeah, there's an old feature request which relates to this.

https://bugs.kde.org/show_bug.cgi?id=323673

Either this one should be reopened or a new bug should be filed. IMHO the current issue should be focused on bringing back the old style of how the GPX is drawn. I'll try if I could come up with a patch.
Comment 13 Olivier Carton 2017-03-13 21:22:29 UTC
   I agree that there are two issues:
    + graphic attributes of GPX tracks
    + focus to a GPX track
Comment 14 Carioca 2017-06-27 16:29:17 UTC
I would like to have Marble zoomed to the track and have a good visible line drawn. It would be good to have a setting for the colour and the wide. Standard should be easily seen.
Comment 15 Frank Steinmetzger 2017-08-12 11:36:25 UTC
Yes, please. I was just reviewing GPX tracks of last year's holiday travel. I have one (or more) tracks for each day. With the current marble 2.1.0, it is impractical to view two routes at one time, because it overlays all loaded track onto one another. So for each track, I have to close and reopen Marble, load the track and zoom in again.

I would like to propose a new tab in marble's top left list of tabs (Search, Routing, Location) with a list view of all loaded tracks. The list would provide a checkmark to enable/disable the display of the track and a style button with which to change colour and width. Sort of like korganizer does it with its list of calendars in its lower left corner.

Lastly, a slider below the list with which to travel along the selected track, showing and following a marker on the map.

Thanks for your consideration.
Comment 16 Tom Hardy 2017-08-17 20:29:00 UTC
Created attachment 107338 [details]
GPX file containing c.a. 100 short routes
Comment 17 Tom Hardy 2017-08-17 20:31:24 UTC
Created attachment 107339 [details]
KML file containing ~100 short routes
Comment 18 Tom Hardy 2017-08-17 20:43:57 UTC
Note that the list of files shown on the files tab will list and allow you to delete your gpx files.  It will also dis/enable the display of all or part of each one.

I, too, have the thin white line since about 16.08.  IIRC, KML's disappeared with about 16.12,  but I'll have to look carefully at current status before I report.

In the meantime, with Zones.1.1.gpx loaded, which contains only routes, subsequent tracks are shown as routes also.  (6px dark blue line)
Comment 19 Fufu Fang 2019-06-16 01:28:14 UTC
(In reply to Stefan Bauer from comment #2)
> Could you please check with a well-known GPX file that there is actually
> nothing displayed? (I.e. load a GPX file with a known track and zoom close
> the location of the track.)
> 
> Tracks are currently drawn with a 1px wide white line which is easily
> overlooked. I was considering to file a bug about that fact, maybe this one
> is about the same issue.

Yes, the track is currently drawn with 1px wide white line. Is there any ways to make the line thicker? I can't seem to change the drawing style.
Comment 20 Fufu Fang 2019-06-16 01:29:52 UTC
(In reply to Stefan Bauer from comment #12)
> (In reply to Olivier Carton from comment #11)
> >   Now that have realized that the track is indeed drawn, 
> > I think that there is another issue.
> > 
> >   In older version of Marble (1.9.2 for instance), loading a GPX file 
> > (directly in Marble or from Dolphin) makes Marble zoom in and change 
> > the focus so that the track uses most of the window and is really visible.
> > 
> >   In Marble 2.1.0, the focus is not changed and the view is still on
> > the starting view of the globe.  This has two effects.
> > 
> >    + this lack of feedback from Marble lets the user think that the track 
> >      has not been drawn.
> >    + the user must know where the track is on earth because Marble does
> >      not zoom on it.  This is even made more difficult by the fact that
> >      the track is barely visible.
> 
> Yeah, there's an old feature request which relates to this.
> 
> https://bugs.kde.org/show_bug.cgi?id=323673
> 
> Either this one should be reopened or a new bug should be filed. IMHO the
> current issue should be focused on bringing back the old style of how the
> GPX is drawn. I'll try if I could come up with a patch.

It would be great if you could bring back the old style of the GPX was drawn. If not, it would be great if the GPX drawing style can be configured.
Comment 21 sourcemaker 2020-04-17 22:09:48 UTC

*** This bug has been marked as a duplicate of bug 419998 ***