Thread: gps via dbus
View Single Post
andrei1089's Avatar
Posts: 81 | Thanked: 109 times | Joined on Apr 2009 @ Brasov/Cluj, Romania
#10
Originally Posted by zimon View Post
How to add altitude to that?
Check out the location api documentation: http://wiki.maemo.org/PyMaemo/Using_Location_API

I'm taking lat and long here:
Code:
self.lat, self.long = device.fix[4:6]
According to the documentation the altitude should be device.fix[7] ( return value is in meters)
 

The Following 3 Users Say Thank You to andrei1089 For This Useful Post: