geary / google-election-center-data

Automatically exported from code.google.com/p/google-election-center-data
0 stars 0 forks source link

API Giving Incorrect Results #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In testing another gadget we're working on, I stumbled upon this issue. A 
location in MN, returns a MD polling place:

Query:
http://pollinglocation.apis.google.com/?q=11235%20Oak%20Leaf%20Dr%20#1115,%20Min
neapolis,%20MN%2055426,%20USA

Response:
{"status":"SUCCESS","locations":[[{"dataset_id":648,"election_id":2,"id":
        "648:7160000555170","address":{"location_name":
          "CRESTHAVEN ELEMENTARY SCHOOL","line1":"1234 CRESTHAVEN DRIVE",
          "city":"SILVER SPRING","state":"MD","zip":"20903"},"directions":
        "","polling_hours":"7:00am-8:00pm"}]],"contests":[[]]}

Original issue reported on code.google.com by ja...@jungshadow.com on 29 Oct 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Hmm...I might have been premature about this. It looks like the hash I didn't 
notice. I'm sure that's probably preventing the rest of the URL from being 
checked.

I'll let you verify on your end and close.

Original comment by ja...@jungshadow.com on 29 Oct 2010 at 12:56

GoogleCodeExporter commented 9 years ago
Hmm...I might have been premature about this. It looks like the hash I didn't 
notice. I'm sure that's probably preventing the rest of the URL from being 
checked.

I'll let you verify on your end and close.

Original comment by ja...@jungshadow.com on 29 Oct 2010 at 12:56

GoogleCodeExporter commented 9 years ago
Yes, the hash character is terminating the url, so it is geocoding 11235 oak 
leaf dr, which ends up in maryland.

Original comment by dan...@google.com on 29 Oct 2010 at 2:41

GoogleCodeExporter commented 9 years ago
Changing this to Won't-Fix since the gadget - API interaction appears to work 
correctly and does not send the user to MD.

Other API users might run into a problem here though...perhaps something to add 
to the documentation on 11/3.

Original comment by aaro...@gmail.com on 29 Oct 2010 at 6:18