On Nov 10, 9:05 am, JKurtock <[email protected]> wrote: > > Last, if you cared about the zip code (it doesn't sound like you do), > the Post Office itself has a limited API that will return the 9-digit > zip code for any valid address. And, by definition, they are ALWAYS > correct. >
Hi Jeff, I do care about the zip code because I use it to verify the result before updating my database with the coordinates. I am geocoding a list of schools in the US, but in some cases, the returned result was in Canada, so I discarded it. It is because of this zip code check that I became aware of the issue. I posted it to the issue tracker: http://code.google.com/p/gmaps-api-issues/issues/detail?id=3731 -- Marcelo - http://maps.forum.nu -- > - Jeff > > On Nov 10, 8:36 am, Andrew Leach <[email protected]> wrote: > > > > > > > > > On 10 November 2011 16:13, Marcelo <[email protected]> wrote: > > > > The problem is that any one address has one, and only one zip code, > > > but the geocoder is returning one address with two different zip > > > codes, depending on how you query it. > > > > In one case it returns: > > > 3510 N Yarbrough Dr, El Paso, TX 79935, USA > > > > and in the other: > > > 3510 N Yarbrough Dr, El Paso, TX 79925-1626, USA > > > Hi Marcelo. Long time and all that. > > > It appears the geocoder is doing two things: geocoding an address (and > > getting the zipcode wrong) and finding a business (where its > > associated details probably come from a different dataset and are > > correct). > > > It's certainly worth reporting that if you provide an address with the > > correct zipcode, the results show a different, incorrect, one. > > Something similar happened with UK postcodes once. > > > However Rossko is right: a geocoder turns an address into coordinates > > (you know that!), so it's doing its job if the coordinates are > > acceptably correct. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
