sunlightlabs/openstates — Issue #140: District Boundary Lookup returning partial boundaries
Author: philipashlock
Created: 2012-01-24 23:05:32+00:00
State: open

It looks like some boundaries are only being partially returned. I'm guessing this is because the boundaries are multiple polygons and the API is currently only returning the first polygon. You might need to first merge these census layers during the import to get them to return together.

Here's an example:
http://openstates.org/api/v1/districts/boundary/sldu-me-state-senate-district-8/?apikey=

The output on the left is what's returned by the API and the full boundary shape (with multiple polygons) can be seen in the full district boundary map on the right.

https://img.skitch.com/20120125-ksspx89h23tpdq7wxtt7thq78d.png