I am using the HTTP Geocoding Service to lookup geocodes for specific
addresses and returning the results with XML.  Technically, the
service works fine (I am not receiving error messages), but the
accuracy of the results is not very good (as compared with Yahoo! and
other services) and makes me wonder if I am doing something wrong.

For example, I send the following query to the API:

http://maps.google.com/maps/geo?q=173+n+keats+ave%2C+louisville%2C+ky+40206&output=xml&key=my_key_here

And receive the following response:

<kml xmlns="http://earth.google.com/kml/2.0";><Response>
  <name>173 n keats ave, louisville, ky 40206</name>
  <Status>
    <code>200</code>
    <request>geocode</request>
  </Status>
  <Placemark id="p1">
    <address>173 N Keats Ave, Louisville, KY 40206, USA</address>
    <AddressDetails Accuracy="8"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>KY</
AdministrativeAreaName><SubAdministrativeArea><SubAdministrativeAreaName>Jefferson</
SubAdministrativeAreaName><Locality><LocalityName>??????? ??????</
LocalityName><Thoroughfare><ThoroughfareName>173 N Keats Ave</
ThoroughfareName></Thoroughfare><PostalCode><PostalCodeNumber>40206</
PostalCodeNumber></PostalCode></Locality></SubAdministrativeArea></
AdministrativeArea></Country></AddressDetails>
    <ExtendedData>
      <LatLonBox north="38.2593776" south="38.2530824"
east="-85.6989688" west="-85.7052640" />
    </ExtendedData>
    <Point><coordinates>-85.7020971,38.2562320,0</coordinates></
Point>
  </Placemark>
</Response></kml>

It does return the right street address and zip code, but the geocodes
(lat & lon) are completely off.  This is not new construction, and
Yahoo! & Geocoder.us are able to handle it with ease.

Also, I am not sure why the LocalityName node appears like this:

<LocalityName>??????? ??????</LocalityName>

Can anyone help?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to