Active Topics

 


Reply
Thread Tools
Posts: 9 | Thanked: 1 time | Joined on Jan 2010
#1
is there a way to get a GPS coordinate via the X-Terminal on the N900?
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2010
#3
Originally Posted by drmaemo View Post
is there a way to get a GPS coordinate via the X-Terminal on the N900?
I'm using liblocation API on Python (http://wiki.maemo.org/PyMaemo/Using_Location_API). I made a little python script that polls my location and then continuously upload the coordinates to my database. Now my gf can see where I am in real time.. (with the help of google maps of course..)

Last edited by wisekki; 2010-01-20 at 20:56.
 
Posts: 20 | Thanked: 2 times | Joined on Dec 2009
#4
Originally Posted by wisekki View Post
I'm using liblocation API on Python (http://wiki.maemo.org/PyMaemo/Using_Location_API). I made a little python script that polls my location and then continuously upload the coordinates to my database. Now my gf can see where I am in real time.. (with the help of google maps of course..)
did you do that without extra-devel python packages? care to share the code?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#5
Originally Posted by wisekki View Post
Now my gf can see where I am in real time.. (with the help of google maps of course..)
that would be one of the last things i....
but really... HOW COULD YOU!?!?! ^^

(sorry for OT)
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2010
#6
Originally Posted by gfdsa View Post
did you do that without extra-devel python packages? care to share the code?
Nope.. you need to install python-location.. and as far as I know it's still extra-devel.

The code is modified from the PyMaemo link.. I just added python's url handling so I can post the coordinates to my server where PHP does the rest...

If you're still interested I can share the code of course
 
Posts: 5 | Thanked: 0 times | Joined on Jan 2010
#7
Originally Posted by b666m View Post
that would be one of the last things i....
but really... HOW COULD YOU!?!?! ^^

(sorry for OT)
(gonna continue this OT a bit.. sorry about that..)

Hehe well you're right.. but the thing is that I have a personal GPS locator attached to my dog which sends coordinates to my server. When I'm out with my dog eg. hunting and my dog gets lost, my gf can see online where the dog is.

The prob was that her map skillz are not so great so she couldn't explain where the dog actually was. That's why I added my own location too at least now she can tell me how far from me and what direction the dog is currently
 
Posts: 7 | Thanked: 0 times | Joined on Jan 2010
#8
I (for one) would love to see this code. We use a similar app on WM devices for tracking our deliveries from one plant to another across the border. To be able to do a proof of concept on Maemo would be fantastic.
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:57.