geary / election-maps-2008

Automatically exported from code.google.com/p/election-maps-2008
Other
0 stars 0 forks source link

Non geocodable locations are not passing original string to API #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the address you tested?
4857 Turkey Sag Rd Keswick VA 22947
What does the Board of Elections say should be the polling location?

STONY POINT ELEM SCHOOL

What does the Gadget Say?
"We are unable to provide voting location information for your address at 
this time. Please check with your state or local election officials to find 
your voting location."

BUT:

http://pollinglocation.apis.google.com/?
q=4857+Turkey+Sag+Rd+Keswick+VA+22947

returns correct

*Solution*
Pass original string to API even when you can't geocode. Only if that 
attempt fails, then use the current error message,

Original issue reported on code.google.com by aaro...@gmail.com on 23 Oct 2009 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by aaro...@gmail.com on 23 Oct 2009 at 4:36