Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
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?
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
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have latitudes longitudes and speed data. Now I want to find the speed limit of that area and know if their is over speeding in my data or not. So is their an api or on google map by using which I can determine the overspeeding thing?
Your tag is probably irrelevant to the question.
Just to answer your yes/no question and as you mentioned Google Maps Platform please refer to this page:
https://developers.google.com/maps/documentation/roads/speed-limits
Apparently you'll need to subscribe to the Premium Plan of Google Maps APIs.
An alternative could be:
https://wiki.openstreetmap.org/wiki/Key:maxspeed
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
The project I am working on uses google places autocomplete to help users to input POIs and addresses. This works ok but we want to filter the autocomplete results by particular areas which we define in polygons.
As google does not send the latitude and longitude in the response it is not possible to use their api. Of course we could send a second request to retrieve this data but it doesn't seem like a good solution both performance and data usage wise.
I have looked into the foursquare search api. This works ok but the support for addresses is poor, the api is mostly based on POIs.
Are there any alternatives to google places that return both addresses and POIs?
1) TomTom
2) Mapbox
3) HERE
4) MapFit
5) Leaflet
6) OpenLayers
7) LocationIQ
8) AND
9) Sygic Maps
10) Jawgmaps
Looking around into options myself at the moment. You might want to give Pelias a go. Main reason I'm looking away from Google Places is due to the licensing restrictions.
Have you tried TomTom Search API?
Geometry search endpoint allows you to do a search within defined polygon.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Are there any good opensource Geoparsers? There are several free solutions (services) available (e.g. Yahoo's placemaker, EDINA's Unlock Text) but they do not appear to be opensource.
Ideally the parser should be aimed to mine location information from arbitrary text (as opposed to expect input to be a location, like Google's Geo Coding API or GeoName's search API but such suggestions are welcome as well.
Thanks in advance.
Related question on SO: Identifying geographical locations in text
UPDATE:
Apparently Unlock Text is based on "Edinburgh Geoparser" which is open source (GPL) but not currently publicly downladable (source).
Fairly recent evaluation of geoparsers: http://www.scribd.com/doc/41603112/geoparser
This one seems pretty cool, but the implementation assumes the address to be US address: http://openblockproject.org/docs/index.html
List of parsers found so far:
- JGeocoder http://jgeocoder.sourceforge.net/parser.html
- Gisgraphy http://www.gisgraphy.com/
- Geotools http://www.geotools.org/
(geotools does not seem to provide geocoding (http://osgeo-org.1560.n6.nabble.com/Review-or-Suggestion-for-Geocoding-Service-in-US-td4991055.html))
Some other resources:
- http://www.osgeo.org/
- http://lin-ear-th-inking.blogspot.co.uk/2010/03/open-source-geocoders.html
- http://lin-ear-th-inking.blogspot.co.uk/2010/03/more-open-source-geocoders.html
- Reverse geotagging
- Geohack
CLAVIN seems like a possible option.
From the website: "CLAVIN (Cartographic Location And Vicinity INdexer) is an award-winning open source software package for document geotagging and geoparsing that employs context-based geographic entity resolution."
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to know on which city my users are.
I cannot use a regular text input since there are similar named cities and users can call the same city by different names,.
I want to let users type their city and display a list of similar results, I could do it with a world cities database, jquery and sql but I'm really not dying to do it from a scratch.
Is there any api (e.g: google) that has an unique ID for each city in the world and let's you search them? Could you post a link to a similar implementation?
There is the Google Places Autocomplete API,
https://developers.google.com/places/documentation/autocomplete
and a library for Maps Version 3 at https://developers.google.com/maps/documentation/javascript/places#places_autocomplete
but I don't know how well it will cope with different names for the same city — although, having tried it, it does present Munich, Germany for munchen — see how well your use case performs.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
TO use google maps it seems you have to have the lat and long for a visitor to plot them on a map.
Are there any free libraries that will give you this information given a IP address?
Here's one: http://www.ip2location.com/developers.aspx
Of course, you're only going to get a rough idea of where the user probably is. If you're expecting the kind of accuracy that you see on crime shows you'll be sadly disappointed. :)
Check out geocoder.us and hostip.info