Tools

bergie said

2 comments

Bottom

bergie  

Seems to work quite well:

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)
Outputs:
{'countrycode': u'FI', 'locality': u'Helsinki', 'country': u'Finland', 'region': u'Southern Finland', 'area': '', 'street': ''}

bergie commented on posted to #Python Töölö 29.03.2010 (en)

bergie  

Mentioned this in my GeoClue 0.12 post

bergie commented on posted to #Python Töölö 29.03.2010 (en)

Login or register to leave a comment

Publicity
These messages are public and can be seen by anyone.