[2008.12] GPS from python

Francesco de Virgilio fradeve11 at gmail.com
Thu Mar 5 22:27:20 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Damphousse ha scritto:
> 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

It seems not work on SHR-testing :(

> 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
> <mailto:nlaurance at zindep.com>> wrote:
> 
>     you might want to read the thread
> 
>     http://lists.openmoko.org/nabble.html#nabble-td786643

- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:fradeve at ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia Italia Member*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
		"Love - Peace - Freedom - Free Software"
GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmwQ7QACgkQRi2TsGSC4Fb1/gCfRMFECkRHF8UP0EZncgnriC9I
hhEAni4BmEJLS3WMCt3E9ObESM+kWmVJ
=QFuJ
-----END PGP SIGNATURE-----




More information about the community mailing list