Hi,
There are two main issues that I would like to discuss. First, the API returns the same longitude and latitude coordinates for two different addresses. The addresses are:
- 120 Riverchase Parkway East, Birmingham, AL, 35244
- 513 Cahaba Park Crl, Birmingham, AL, 35242
And the returned coordinates are:
Latitude: 39.78373 and longitude: -100.4459
The second issue is that these coordinates are for neither one of the addresses. I also have examples of coordinates that are "a bit off" of the exact address location. An example of this is the following address:
- 8101 Peters Road, Plantation, FL, 33324
The returned coordinates are:
Latitude: 26.10557 and longitude -80.25002
which point to the intersection between S University Dr and Peters Rd in Plantation, FL. The address is that of a LaQuinta hotel, which is maybe 200 ft of that intersection.
Any idea why this is happening?
Yes, I am. I followed the instructions here: https://developer.mapquest.com/documentation/open/geocoding-api/address/get/
Can you post the request that is getting the unexpected results? I'm not able to recreate the issue. Here is my request.
http://www.mapquestapi.com/geocoding/v1/address?key=KEY&location=513%20Cahaba%20Park%20Crl%2C%20Birmingham%2C%20AL%2C%2035242
edit: Nope, that link is the open geocoder (open.mapquestapi.com, not www.mapquestapi.com) which is not nearly as accurate. Try the documentation here.
Thank you very much for your help. It works perfectly now.