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
I have exaclty the same bug with marble 16.12.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.
Created attachment 104484 [details] GPX file GPX file used for trials.
Created attachment 104485 [details] Screenshot of Marble 1.9.2 showing GPX file
Created attachment 104486 [details] Screenshot of Marble 2.1.0 (NOT) showing the track of the GPX file
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.
(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.
Created attachment 104494 [details] Highlight to show that the track is there, but barely visible.
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.
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?
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.
(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.
I agree that there are two issues: + graphic attributes of GPX tracks + focus to a GPX track
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.
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.
Created attachment 107338 [details] GPX file containing c.a. 100 short routes
Created attachment 107339 [details] KML file containing ~100 short routes
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)
(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.
(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.
*** This bug has been marked as a duplicate of bug 419998 ***