I am using the following uri's to connect to Google Api from a C# class. I left the address that I am currently having trouble with in it as an example.
http://maps.googleapis.com/maps/api/geocode/xml?address=Mt%20Vernon&sensor=false
http://maps.googleapis.com/maps/api/geocode/xml?address=Mt%20Vernon,%20IN&sensor=false
The first link only returns what appears to be the top 6 results. The second link is the result I actually need. I understand that I can force the user to supply the state, but the requirements that I am under are explicit that only the city need be entered.
I have searched for a way to increase the result set to no avail. At this point I am looking for any ideas short of switching to some other services (which I am not opposed to if google, indeed has this short coming).
Thanks for whatever help you might be able to provide.
If you include USA in your search parameter, the Mt. Vernon result from Indiana is included:
http://maps.googleapis.com/maps/api/geocode/xml?address=Mt%20Vernon,USA&sensor=false
Not sure if it helps any, since it may have a different behavior with a different query, but it does satisfy the original issue.