Thread
:
gps via dbus
View Single Post
andrei1089
2010-04-02 , 20:35
Posts: 81 | Thanked: 109 times | Joined on Apr 2009 @ Brasov/Cluj, Romania
#
10
Originally Posted by
zimon
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)
Quote & Reply
|
The Following 3 Users Say Thank You to andrei1089 For This Useful Post:
jukzh
,
krk969
,
zimon
andrei1089
View Public Profile
Send a private message to andrei1089
Find all posts by andrei1089