3 nominatim.openstreetmap.org API
10 reqstr = "http://maps.rvb.name/geocode.php?lat=%s&lon=%s" %(lat,lon)
11 headers = { 'User-Agent' : 'PyRunGPS/1.0', 'Referer' : 'https://maps.rvb.name' }
12 http_pool = urllib3.connection_from_url(reqstr, headers=headers)
13 req = http_pool.urlopen('GET',reqstr)
14 return req.data.decode('utf-8','ignore')
18 def __init__(self, lat, lon):
20 self.printable = GetDescr(lat,lon)