Bug 202162 - Altitude in "Current Location" is shown as 0
Summary: Altitude in "Current Location" is shown as 0
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 0.8 (KDE 4.3)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 02:34 UTC by Lew Palm
Modified: 2009-11-15 18:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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