I'm seeing this too.  Here's an example:

A query for "asheville nc" returns <AdministrativeAreaName>N Carolina</
AdministrativeAreaName>
A query for "1 main st asheville nc" returns
<AdministrativeAreaName>NC</AdministrativeAreaName>

I'm not sure how to standardize this.  The XML responses are below.

Thanks for any suggestions!

--Ben

<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0";>
        <Response>
          <name>asheville nc</name>
          <Status>
            <code>200</code>
            <request>geocode</request>
          </Status>
          <Placemark id="p1">
            <address>Asheville, N Carolina, USA</address>
            <AddressDetails Accuracy="4"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>N Carolina</
AdministrativeAreaName><Locality><LocalityName>Asheville</
LocalityName></Locality></AdministrativeArea></Country></
AddressDetails>
            <Point><coordinates>-82.5540990,35.5817270,0</coordinates></
Point>
          </Placemark>
        </Response>
</kml>

<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0";>
        <Response>
          <name>1 main st asheville nc</name>
          <Status>
            <code>200</code>
            <request>geocode</request>
          </Status>
          <Placemark id="p1">
            <address>1 Main St, Asheville, NC 28803, USA</address>
            <AddressDetails Accuracy="8"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>NC</
AdministrativeAreaName><Locality><LocalityName>Asheville</
LocalityName><Thoroughfare><ThoroughfareName>1 Main St</
ThoroughfareName></Thoroughfare><PostalCode><PostalCodeNumber>28803</
PostalCodeNumber></PostalCode></Locality></AdministrativeArea></
Country></AddressDetails>
            <Point><coordinates>-82.5276368,35.5677170,0</coordinates></
Point>
          </Placemark>
        </Response>
</kml>

On Dec 2, 7:27 am, Rossko <[EMAIL PROTECTED]> wrote:
> Example ????

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