Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google Have a Geo IP Service? [closed]

Does Google have an API to do geocoding from ip address to latitude longitude? Similar to MaxMind. I have looked into their places api:

https://developers.google.com/maps/documentation/business/places/

And I have used Maxmind with success,

http://www.maxmind.com/en/geolocation_landing

But does Google offer ip to lat long services?

like image 836
David Williams Avatar asked Oct 30 '13 22:10

David Williams


People also ask

How accurate is geo IP?

IP-based geolocation services provide 55 percent to 80 percent accuracy for a user's region or state. And they provide 50 percent to 75 percent accuracy for a user's city. In practice, the actual accuracy may vary from provider to provider and depending on the location of the device.

How does Google geolocation work?

Most mobile phones are equipped with GPS, which uses signals from satellites to determine a device's location – however, with Google Location Services, additional information from nearby Wi-Fi, mobile networks, and device sensors can be collected to determine your device's location.

What is geo IP used for?

Geo IP refers to the method of locating a computer terminal's geographic location by identifying that terminal's IP address. A Geo IP feed is an up-to-date mapping of IP addresses to geographical regions.

How do I get Google Geolocation API?

Go to the Google Maps Platform > Credentials page. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key. Click Close.


1 Answers

Strictly just f.y.i., google's loader https://developers.google.com/loader/ which you would load with a simple script tag:

<script type="text/javascript" src="https://www.google.com/jsapi"></script>

does store info about their best guess about a users location, presumably done via i.p. lookup, within google.loader.ClientLocation object. In fact here's a fiddle example showing your own (supposed) location with a Marker http://jsfiddle.net/pTfM5/2/

It's horribly inaccurate for me, shows me to be an entire state and a couple hundred miles away from where I really am. ipinfodb and ip2location as suggested by Michael C. are a bit more accurate, they show me just two thirds as far away as reality than googles loader does, still off by a long ways.

Maxmind is much better though, only off by about 20 miles

like image 122
astupidname Avatar answered Sep 19 '22 17:09

astupidname