Different Precision from API than from Web SDK.

6 posts / 0 new
Last post
KenITR
Different Precision from API than from Web SDK.

When I geocode some addresses from my server with: http://www.mapquestapi.com/geocoding/v1/address  I get STREET B1AAA precision, but when I geocode the same addresses from the browser using: https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.js I get POINT P1AAA precision. Why the difference? Am I using the right URL?

Thanks.


MQBrianCoakley
Yes, you're using the correct

Yes, you're using the correct URLs.

 

Is there a sample address you can post so we can take a deeper look?


KenITR
Yes, try these:

Yes, try these:

8 Sawyer Ave, Canton, MA
20406 Chestnut West, Randolph, MA
810 Perry Street, Stoughton, MA

Thanks.


MQBrianCoakley
I get consistent results for

I get consistent results for each address from both the API and the ADK. I get P1AAA from both for 8 Sawyer Ave, Canton, MA, and B3AAA from both for 20406 Chestnut West, Randolph, MA and 810 Perry Street, Stoughton, MA.

 

MapQuest.js uses the same geocode API URL in the background. Can you post the direct API request and the API request that MapQuest.js is making where you see different results?


KenITR
Thank you very much for your

Thank you very much for your help. It was my error. Thanks again.


MQBrianCoakley
You're welcome.
You're welcome.