[2008.12] GPS from python

Robert Damphousse rjdampho at gmail.com
Sun Jan 25 22:20:23 CET 2009


I have always used the gps.py module that is included with linux on my
desktop distros (debian, ubuntu etc).  It can usually be found here:
/var/lib/python-support/python2.5/gps.py

I am dunning Debian on my Freerunner, I copied gps.py from my desktop to the
same location on the phone and it works just fine!  Usage goes like this:

Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gps
>>> g = gps.gps()
>>> g.query("admosy")
>>> g.fix.latitude
34.432875

More examples using gps.py here:

http://www.perrygeo.net/wordpress/?p=13

On Tue, Jan 13, 2009 at 5:23 AM, Nicolas Laurance <nlaurance at zindep.com>wrote:

> you might want to read the thread
>
> http://lists.openmoko.org/nabble.html#nabble-td786643
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090125/9239a043/attachment.htm 


More information about the community mailing list