--
You received this message because you are subscribed to the Google Groups "Open State Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fifty-state-pro...@googlegroups.com.
To post to this group, send email to fifty-sta...@googlegroups.com.
Visit this group at http://groups.google.com/group/fifty-state-project.
For more options, visit https://groups.google.com/groups/opt_out.
Request: "Name": "lat", "Value": 39.20996, "Name": "long", "Value": -76.79732,
Response: Piston/0.2.3rc1 (Django 1.6.2) crash report: Traceback (most recent call last): File "/projects/openstates/virt/src/billy/billy/web/api/handlers.py", line 86, in new_read obj = old_read(*args, **kwargs) File "/projects/openstates/virt/src/billy/billy/web/api/handlers.py", line 416, in read boundary_id) ValueError: multiple districts with boundary_id: sldl/md-12
Hi Aaron-Thanks for bringing this to my attention- it looks like there's a hiccup in the source data for Maryland along that boundary that causes the point to appear in two districts when one is expected. I actually haven't seen this happen before but I'll look and see if there's been an update to the Census files and if we can get a fix put in. Otherwise we can probably build in a temporary workaround.-James
On Tue, Mar 4, 2014 at 3:20 PM, Aaron Kreider <aaronk...@gmail.com> wrote:
I'm testing out geocoding addresses in MD (with Google's geocoder) and then using Open States to find the legislator. The first two worked. The third address gave me an error:
NetworkError: 500 INTERNAL SERVER ERROR - http://openstates.org/api/v1//legislators/geo/?lat=39.5447164&long=-77.10399439999998&apikey=8f39955b55d7450d9f73932701df54e1&callback=jQuery20308688839607813031_1393963597624&_=1393963597631"
If I open the URL directly I get:
Piston/0.2.3rc1 (Django 1.4.5) crash report: Traceback (most recent call last): File "/projects/openstates/src/billy/billy/web/api/handlers.py", line 86, in new_read obj = old_read(*args, **kwargs) File "/projects/openstates/src/billy/billy/web/api/handlers.py", line 416, in read boundary_id) ValueError: multiple districts with boundary_id: sldl/md-5
You can see my code at www.energyjustice.net/action/action.php
If you enter a street address and zip code it will geocode it and show you the legislators - you can do that safely without triggering any emails.
--
You received this message because you are subscribed to the Google Groups "Open State Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fifty-state-project+unsub...@googlegroups.com.