Starting this morning the Google geocoder (using the REST interface
via GeoKit) has started returning different XML for "New York City"
queries. It is returning the state name but not the city name, or at
least not in the way that it used to and currently still does for
other cities.

EXAMPLE RESPONSE for "New York, NY"
<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0";><Response>
  <name>new york, ny</name>
  <Status>
    <code>200</code>
    <request>geocode</request>
  </Status>
  <Placemark id="p1">
    <address>New York, USA</address>
    <AddressDetails Accuracy="4"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>NY</
AdministrativeAreaName><AddressLine>New York</AddressLine></
AdministrativeArea></Country></AddressDetails>
    <ExtendedData>
      <LatLonBox north="40.8494506" south="40.5788125"
east="-73.7498541" west="-74.2620917" />
    </ExtendedData>
    <Point><coordinates>-74.0059729,40.7142691,0</coordinates></Point>
  </Placemark>
</Response></kml>

EXAMPLE RESPONSE for "sf"
<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0";><Response>
  <name>sf</name>
  <Status>
    <code>200</code>
    <request>geocode</request>
  </Status>
  <Placemark id="p1">
    <address>San Francisco, CA, USA</address>
    <AddressDetails Accuracy="4"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>CA</
AdministrativeAreaName><SubAdministrativeArea><SubAdministrativeAreaName>San
Francisco</SubAdministrativeAreaName><Locality><LocalityName>San
Francisco</LocalityName></Locality></SubAdministrativeArea></
AdministrativeArea></Country></AddressDetails>
    <ExtendedData>
      <LatLonBox north="37.8454521" south="37.7043396"
east="-122.2913561" west="-122.5474749" />
    </ExtendedData>
    <Point><coordinates>-122.4194155,37.7749295,0</coordinates></
Point>
  </Placemark>
</Response></kml>


This change is causing GeoKit to not correctly capture the city name
for New York queries. Note that it DOES still work if you search by
street address in New York. Geocoding is being done from an Amazon EC2
instance though my dev box on Speakeasy DSL is showing the same
results, so I don't think it is IP-specific.

Does anyone know anything about this?

Thanks,
Nathan

--~--~---------~--~----~------------~-------~--~----~
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