python-geoclue
Henri Bergius
henri.bergius at iki.fi
Mon Mar 29 06:01:29 PDT 2010
Hi, all
While looking at the current state of GeoClue I ran into the
python-geoclue module that is a result of Getting Things GNOME GSoC
2009 project:
http://live.gnome.org/gtg/soc/python_geoclue
Docs: http://www.paulocabido.com/soc/python-geoclue/docs/
Seems to work reasonably well with geoclue 0.11.1 that ships with Ubuntu Karmic:
import Geoclue
location = Geoclue.DiscoverLocation()
location.init()
location.set_position_provider("Plazes")
position = location.get_location_info()
print location.reverse_position(position['latitude'],
position['longitude'], 4)
I wonder, should we try to ensure distros shipping GeoClue also ship
this library?
--
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/
Skype: henribergius
Jabber: henri.bergius at gmail.com
Microblog: http://www.qaiku.com/home/bergie/
My Royal Enfield Bullet 500 is for sale, see http://www.nettimoto.com/844397
More information about the GeoClue
mailing list