Bug 202162

Summary: Altitude in "Current Location" is shown as 0
Product: [Applications] marble Reporter: Lew Palm <lew>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: 0.8 (KDE 4.3)   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lew Palm 2009-08-01 02:34:54 UTC
Version:           Revision 1005421 from SVN trunk (using KDE 4.2.2)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

When I open the "Current Location" tab and click on "Navigation mode", longitude and latitude are shown correctly but altitude is 0.

Gpsd is running and offers another value than 0 for altitude to its clients, which I can see with xgps. Longitude and latitude are the same in xgps and marble.

Marble is compiled with libgps 2.38 (official ubuntu package). 

Marble was started with LANG=C.


I fiddled a bit with the source and found out that GpsdPositionProviderPlugin puts the right value in its GeoDataCoordinates m_position. But in the end the MarbleControlBox gets something different with altitude == 0 ....
Comment 1 Dennis Nienhüser 2009-11-14 00:14:13 UTC
SVN commit 1048806 by nienhueser:

Forward available altitude values to the UI.
CCBUG: 202162


 M  +2 -1      GpsTracking.cpp  
 M  +3 -2      PositionTracking.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1048806
Comment 2 Dennis Nienhüser 2009-11-15 18:04:25 UTC
SVN commit 1049668 by nienhueser:

Forward available altitude values to the UI.
Altitude needs to be set here as well, otherwise the speed estimation gets confused by seemingly changing positions. Backport of commit 1048806 and 1049655
BUG: 202162



 M  +2 -1      GpsTracking.cpp  
 M  +9 -6      PositionTracking.cpp  


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