Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to determine location based on ip

Tags:

geolocation

ip

how do one determine location based on ip? I'm not asking for any product or service, but rather how to go about implementing it technically.
The ip to country is a rather static mapping. What about more specific locations?

like image 688
user881480 Avatar asked Sep 07 '11 16:09

user881480


1 Answers

geobyte is a good service to locate ip address. If you are thinking about an algorithm to find location based on IP, I think there is none. It is basically a database look up and you will retrieve the location based on the IP address.

like image 81
Hammad Khan Avatar answered Oct 12 '22 12:10

Hammad Khan