I have many examples where google maps returns the exact location whereas geocoding cannot find an exact match and provides only a close match lat/lon which is no good for my purpose.
example: "1729 state road 8, auburn, IN 46706" in google maps drops me exactly on a walmart distribution center as it should.
using geocoding.....either thru http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html
or manually
via https://maps.googleapis.com/maps/api/geocode/json?address=1729+state+road+8,+auburn,+IN,+46706&key=[your_key_here]
has the location several miles away...
I don't understand why the difference as I would expact MAPs to use geocoding etc, and many many examples don't match up between the two. I need to get geocoding via MAPS !
Address ranges can be incorrect or reversed in the reference files, which causes houses to be geocoded to either the wrong side or wrong end of the street. Larger positional error was observed in rural areas. Generally, rural areas consist of longer streets with fewer intersections.
Address geocoding, or simply geocoding, is the process of taking a text-based description of a location, such as an address or the name of a place, and returning geographic coordinates, frequently latitude/longitude pair, to identify a location on the Earth's surface.
After reading through lot of answers i came across this solution that Gecoder is used to find the nearest postal addresses.To get Local Business Data use Google Places API
https://developers.google.com/places/web-service/search#PlaceSearchRequests
it can be done like this
https://maps.googleapis.com/maps/api/place/textsearch/json?query=someplacename&key=key
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