More incorrect Lat, Long, please explain

4 posts / 0 new
Last post
eantar@nyc.rr.com
More incorrect Lat, Long, please explain

Can you tell me why I'm getting the following lat, lng for this address:

Address: 84-10 Kent Street, Jamaica Estates, NY

Lat, Lng: 42.921241,-75.59655

When I just type this Lat, Lng into the system I get some place in Munsville NY.

 

I'm getting the EXACT same Lat, Lng for these addresses as wee:

Address:75-32 Parsons Blvd., E 2, Kew Gardens Hills, NY and 90-1 34th Avenue, Jackson Heights, NY

 

Any help would be greatly appreciated.

 

Thanks,

Eddie

 

 


MQBrianCoakley
They are all getting a state
They are all getting a state quality response: A3XAX.   Using the city Jamaica, rather than Jamaica Estates, resolves the first issue.   Using Flushing for the second city fixes that issue.   Is 90-1 the actual address? It looks invalid according to USPS.

eantar@nyc.rr.com
Is there a way to call any of

Is there a way to call any of these out as a bad addresses and force the user to enter in a new address? You mention that I'm getting a State Quality Response of A3XAX. Should I check for this? Can you tell me what that indicates?

I've put the XML code below.

 

Thanks,

Eddie

 

 

response>

<info>

<statusCode>0</statusCode>

<messages/>

<copyright>

<imageUrl>http://api.mqcdn.com/res/mqlogo.gif</imageUrl>

<imageAltText>© 2015 MapQuest, Inc.</imageAltText>

<text>© 2015 MapQuest, Inc.</text>

</copyright>

</info>

<results>

<result>

<providedLocation>

<location>84-10 Kent Street, Jamaica Estates, NY</location>

</providedLocation>

<locations>

<location>

<street/>

<adminArea6 type="Neighborhood"/>

<adminArea5 type="City"/>

<adminArea3 type="State">NY</adminArea3>

<adminArea4 type="County"/>

<postalCode/>

<adminArea1 type="Country">US</adminArea1>

<geocodeQuality>STATE</geocodeQuality>

<geocodeQualityCode>A3XAX</geocodeQualityCode>

<dragPoint>false</dragPoint>

<sideOfStreet>N</sideOfStreet>

<displayLatLng>

<latLng>

<lat>42.921241</lat>

<lng>-75.59655</lng>

</latLng>

</displayLatLng>

<linkId>282093255</linkId>

<unknownInput/>

<type>s</type>

<latLng>

<lat>42.921241</lat>

<lng>-75.59655</lng>

</latLng>

<mapUrl>

<![CDATA[

http://www.mapquestapi.com/staticmap/v4/getmap?key=KEY&type=map&size=225...,|&center=42.921241,-75.59655&zoom=5&rand=1832562001

]]>

</mapUrl>

</location>

</locations>

</result>

</results>

<options>

<maxResults>-1</maxResults>

<thumbMaps>true</thumbMaps>

<ignoreLatLngInput>false</ignoreLatLngInput>

<boundingBox/>

</options>

</response>


MQBrianCoakley
Yes, many users use the
Yes, many users use the quality code to determine an acceptable level of geocode quality. The quality code is explained in detail here.