Archive - Jul 14, 2010
#N900 - My New GPS - Using Liblocation in a Python Script
Submitted by Aldon Hynes on Wed, 07/14/2010 - 12:32Last December, I wrote a blog post about My New GPS, the #N900. In it, I mentioned writing a simple Python Script to use liblocation to gather and print out location information via Python. It was a very quick and dirty script, but I used it for some fun mapping.
Recently, I was asked for a copy of the script, so I am posting it below, including various lines that I had commented out during my testing. Some of them are useful in understanding different parameters that you might want to use.
Enjoy. Let me know any comments.