Different adminArea (state) value for same API call

2 posts / 0 new
Last post
jc.vistracks
Different adminArea (state) value for same API call

Hi,

I made a reverse geocode request to the open.mapquest.api (http://open.mapquestapi.com/geocoding/v1/reverse?key=KEY&location=40.577...) from the browser and it returned the value for adminArea3 as PA.

When I made the same call via the java application I'm creating, it's returning penna instead of PA.

I can work around this, but just wanted to know what could possible cause this? 

By the way, the same request made to www.mapquestapi.com, returns PA both in the browser and the java code.

Thanks

 


MQDennisClarke
RE: Different adminArea (state) value for same API call
I would be interested in seeing the raw JSON response your JAVA app is getting from the Open Geocode API. Can you capture that in your code and paste it into this thread?