Hi, You should not have any problems using Maps geocoding on App Engine, you just need to register the correct domain to get an API key.
A simple example of this can be found here: http://code.google.com/appengine/articles/geosearch.html If you are having problems with your Maps key, I would suggest Google Maps API support: http://groups.google.com/group/Google-Maps-API -Marzia On Tue, Feb 17, 2009 at 3:54 AM, ehmo <[email protected]> wrote: > > I did register it for API key but it's not working. I tried almost > everything, and now i just made another script on another domain, > which is doing all this thing instead of GAE. But it's annoying if i > can't use google service in google service. > > ehmo > > > Barry wrote, > > > I beleive you need to register the key for the {appid}.appspot.com > > domain, due to the way urlfetch sends the HTTP referer header. (even > > if you > > > However appengine is a shared system and urlfetch uses a proxy and the > > API geocoder limits requests by IP address. For that reason Jarek's > > advice to use the ajax method is probably best - that way the request > > comes from the users IP which is less likly to be throttled. > > > On 17/02/2009, ehmo <[email protected]> wrote: > >> > >> Hey guys, > >> i'm trying to use Google Geocoding service > >> http://code.google.com/apis/maps/documentation/geocoding/index.html > >> via http. > >> I generated API key for actual domain and it's not working {u'Status': > >> {u'code': 610, u'request': u'geocode'}, u'name': u'Brno'}. > >> 610 mean it's not good key for this domain. I tryied it on another > >> hosting with php, it's working. I tryied it on another hosting with > >> same python lib and it's working too. I tryied to use urlfetch and > >> urllib2, nothing works. > >> Any idea? > >> > >> Maybe it's because of header restrictions, but i really don't know. > >> That link, which is called is ok, coz if i'll try it in browser, > >> everything works. All data are encoded before posting, there is 100% > >> not problem. > >> > >> Thnx for help > >> > > >> > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
