[Gfoss] API google maps

Ummarino alessandro.ummarino a gmail.com
Sab 30 Mar 2013 15:26:51 CET


Ho ripreso a usare il plug "geocode", nella modalità "reverse geocode" ma non
funziona più (è un pò che non lo uso..)...qualcuno ha lo stesso problema ?
Ho controllato tutto (settings vari nel "Simple API Access" della mio
account in https://code.google.com/apis/console, chiave nel setting del
pug-in etc..) ma non mi funziona più ecco l'errore:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File "C:/Documents and
Settings/Alessandro/.qgis//python/plugins\GeoCoding\Utils.py", line 34, in
canvasReleaseEvent
    self.callback(point)
  File "C:/Documents and
Settings/Alessandro/.qgis//python/plugins\GeoCoding\GeoCoding.py", line 164,
in reverse_action
    address = geocoder.reverse((pt[1],pt[0]));
  File "C:\Documents and
Settings\Alessandro\.qgis\python\plugins\GeoCoding\geopy\geocoders\google.py",
line 97, in reverse
    return self.geocode_url(url, exactly_one, reverse=True)
  File "C:\Documents and
Settings\Alessandro\.qgis\python\plugins\GeoCoding\geopy\geocoders\google.py",
line 104, in geocode_url
    return dispatch(page, exactly_one, reverse)
  File "C:\Documents and
Settings\Alessandro\.qgis\python\plugins\GeoCoding\geopy\geocoders\google.py",
line 123, in parse_xml
    self.check_status_code(status_code)
  File "C:\Documents and
Settings\Alessandro\.qgis\python\plugins\GeoCoding\geopy\geocoders\google.py",
line 184, in check_status_code
    raise GBadKeyError("The api_key is either invalid or does not match the
domain for which it was given.")
GBadKeyError: The api_key is either invalid or does not match the domain for
which it was given.

Versione Python:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


Versione di QGIS:
1.8.0-Lisboa Lisboa, f440b60

Percorso Python: ['C:\\Documents and
Settings\\Alessandro\\.qgis\\python\\plugins\\GeoCoding', 'C:/Documents and
Settings/Alessandro/.qgis//python/plugins\\sextante', 'C:\\Documents and
Settings\\Alessandro\\.qgis\\python\\plugins\\GeoCoding',
'C:/GIS_OS/apps/qgis/./python', 'C:/Documents and
Settings/Alessandro/.qgis//python', 'C:/Documents and
Settings/Alessandro/.qgis//python/plugins',
'C:/GIS_OS/apps/qgis/./python/plugins', 'C:\\GIS_OS\\bin\\python27.zip',
'C:\\GIS_OS\\apps\\Python27\\DLLs', 'C:\\GIS_OS\\apps\\Python27\\lib',
'C:\\GIS_OS\\apps\\Python27\\lib\\plat-win',
'C:\\GIS_OS\\apps\\Python27\\lib\\lib-tk', 'C:\\GIS_OS\\apps\\qgis\\bin',
'C:\\GIS_OS\\apps\\Python27',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\GIS_OS\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\Documents and
Settings\\Alessandro\\.qgis\\python\\plugins\\mmqgis/forms', 'C:\\Documents
and Settings\\Alessandro\\.qgis\\python\\plugins\\ziplayers\\logic',
'C:\\Documents and
Settings\\Alessandro\\.qgis\\python\\plugins\\ziplayers\\gui',
'C:\\GIS_OS\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:/Documents and
Settings/Alessandro/Desktop']





-----
A.Ummarino
--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/API-google-maps-tp7581674.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.


Maggiori informazioni sulla lista Gfoss