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?
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With