Mixologic
Mixologic

Reputation: 991

Invalid Data returned for valid Address

I am trying to geocode the following address:

333111 Hwy 2, Suite A
Newport, WA 99156

For some reason, the geocoder's responds with two locations, one in Minnesota, and one near where the actual business is, but neither of them are correct.

The correct map location is displayed on the businesses website here:
http://www.a-1team.net/index.php?option=com_content&view=article&id=81&Itemid=194

I have tried removing the suite, changing the abbreviation etc, but I still cannot figure out how I should format this address to get it to geocode properly.

Is this a problem with the geocoder itself, or is it a problem with the way that I am formatting this specific address? (I have about 200 other addresses that get geocoded properly as part of the same process, so Im pretty sure Im submitting them properly)

Upvotes: 0

Views: 874

Answers (2)

dominique
dominique

Reputation: 135

This looks to be a geocoder problem. I was going to suggest using Map Maker to manually add this business (I've successfully done this in the past), but it looks like Google already knows of it and can plot it at the correct location.

Maybe consider filing it as a bug in the API. It's what others seem to do.

Upvotes: 1

CC Inc
CC Inc

Reputation: 5928

When I use Google Maps to troubleshoot this, I too notice that typing in any form of the address you gave us was inaccurate. It would always take me near, but not exactly to the actual location.

However, when I examined the address Google Maps gave me, it stated that "Placement on map is approximate."

After that, I examined the website link you gave me, because surely they could not have it working, while we did not, right? Sure enough, when I examined the code for the embedded maps, here is what I find:

window.addEvent('load', function() { var yoomap1 = new YOOmaps('yoo-maps-1', 
{ lat:48.175156, lng:-117.063497...

Notice they give Latitude and Longitude coordinates.

IF you want to map this correctly, you can:

  • Do what the website you linked did, and use "lat:48.175156, lng:-117.063497"
  • Or, you could just use the address

1600 7th St, Newport, WA

While this address is not entirely accurate, it is very close to the actual address.

This could just possibly be a bug in Google Maps and its API. If anyone is more knowledgeable about this than me, please share.

Upvotes: 3

Related Questions