Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a solution/code/service to find an IP with accuracy to the City level in the sense of the IP's geolocation?

How would you implement this on your own? Would you need to fetch a live update of the geolocation data in the backend?

I know that mapping an IP to a country is fairly straightforward since it is relatively fixed. How about cities?

share|improve this question
4  
From a privacy perspective, I sure as hell hope not. –  Lukasa Jun 26 '11 at 9:56

2 Answers 2

up vote 4 down vote accepted

In theory, there is, based on finding the network latency between the IP address and a large number of routers with known locations. See this paper. I'm not aware of any commercial implementations, and it would be a lot of work to implement for yourself.

share|improve this answer
    
The paper's a good read, I've been reading it once but lost the link. Thanks for sharing. –  slhck Jun 26 '11 at 10:38
    
@slhck: any opensource or commercial implementation? a lot of websites can show ip with location. –  user157195 Jun 26 '11 at 20:50
    
any opensource or commercial implementation? a lot of websites can show ip with location. –  user157195 Jun 27 '11 at 7:55

Well, there is a service: Google Latitude, that even if they are using only a browser, can pinpoint most people fairly accurately. Even though he was not near any hotspots, there was a previous poster, who said they pinned him down to within 100 feet. Here is how they do it:

http://en.wikipedia.org/wiki/W3C_Geolocation_API

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.