Bug 249632

Summary: navigation to waypoints goes to wrong location
Product: [Applications] marble Reporter: Anders Lund <anderslund>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: 1.0 (KDE 4.6)   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: sample gpx file

Description Anders Lund 2010-08-31 15:23:12 UTC
Created attachment 51142 [details]
sample gpx file

Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

When opening a file with waypoints, the points are displayed on the map in their correct locations, as a little square.

In the navigation panel, the waypoints shows up represented by their names. Clicking on those names navigates to a location that are in the wrong side of the planet.

For example a waypoint represented like this in a gpx file:

<wpt lat="55.051940968" lon="10.367790945">
  <name>001</name>
  <cmt>001</cmt>
  <desc>001</desc>
  <sym>Waypoint</sym>
</wpt>

shows correctly in southern denmark, but when clicked navigates to approximately  94.2 E, 54.0 S 

The above gpx is created by downloading data from my garmin foretrex 201 with gpsbabel.

Reproducible: Always

Steps to Reproduce:
1. Open gpx file containing waypoints
2. Navigate to the squares are visible, to make sure they are in the correct location
3. Click waypoint in the navigation panel list

Actual Results:  
marble navigates to the other side of the planet

Expected Results:  
square representation of waypoint should be centered in the view

OS: Linux (i686) release 2.6.35-ARCH
Compiler: gcc
Comment 1 Dennis Nienhüser 2010-08-31 19:37:46 UTC
SVN commit 1170366 by nienhueser:

Fix setCoordinates call on gpx waypoints.
BUG: 249632

 M  +1 -1      GPXwptTagHandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1170366
Comment 2 Dennis Nienhüser 2010-08-31 19:57:04 UTC
SVN commit 1170370 by nienhueser:

Fix setCoordinates call on gpx waypoints. Backport of commit 1170366. Will be in KDE 4.5.2 / Marble 0.10.2.
CCBUG: 249632



 M  +2 -1      GPXwptTagHandler.cpp  


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