Thanks for the information. Is there any way to get a country level or metro level details for a given IP address (as input to API) using Google API? We need to do this experiment for our testing purpose.
Please help in this regard. Thanks, Malli On Feb 19, 5:01 pm, Jeremy Geerdes <[email protected]> wrote: > Unfortunately, no. If Google is unable to geocode the user'sIP address, the > google.loader.ClientLocation object will be null. > > As for how the wholeIP-based geocoding functionality works, although > I don't know the specifics of Google's implementation, I believe it > works essentially the same for all such services. Namely, you check > theIPaddressand then query a database that contains the locations > of known addresses. The down side of this, of course, is that the > database is entirely dependent on ISP's providing information about > theirIPaddresses, and it can be skewed by a number of factors > including proxy servers, VPNs, privateIPaddresses, and more. Here > is an article I found on the subject just this morning, which may be > of some help to you. Please notice the accuracy information. > > http://www.joefission.com/2007/11/geocoding-based-on-an-ip-address/ > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com > [email protected] > > Unless otherwise noted, any price quotes contained within this > communication are given in US dollars. > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! > > And check out my blog, Adventures in Web Development, > athttp://jgeerdes.blogspot.com > ! > > On Feb 19, 2009, at 5:37 AM, Malli wrote: > > > > > Good day! > > > I'm new to this forum and I'm not sure if this is an easy question or > > not, but I've looked around and cannot seem to find an answer. > > > All that we want to implement is 'mappingaIPaddressto the > >country'. We would like to know whether Google system > > (google.loader.ClientLocation) returns at leastcountryIf it is > > unable to geo-locate the client based on the client'sIPaddressto > > metro level? > > > We would like to block users from specific countries. To do this, we > > need to test different scenarios. Is there any way to get acountry > > level or metro level details for a givenIPaddress(as a parameter to > > API) using Google API? > > > Also, We would like to know the details of how Google API geo-locate > > the clients based on the client'sIPaddress? How Google API gets > > clientIPaddressand how it geo-locate the client (The whole process > > between client machine and Google API)? > > > Please help in this regard. > > > Thanks, > > Malli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" 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-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
