sunlightlabs/openstates — Issue #141: [districts] [iOS] boundary shape structure differs from api
Author: grgcombs
Created: 2012-01-25 18:27:51+00:00
State: open

It looks like the boundary service switchover reverted us back to a boundary shape with an extra top level array. Previously, the district shapes looked like this:

```json
"shape":[
[
[ -97.359811, 28.400859 ],
[ -97.368913, 28.393902 ],
[ -97.373934, 28.390072 ],
[ -97.375113, 28.389172 ],
... // truncated
]
],
```

Now it looks like this (notice the extra brackets)

```json
"shape": [
[
[
[-94.152045,35.577281],
[-94.174359,35.577889],
[-94.177167,35.577841],
[-94.181718,35.578111],
... // truncated
]
]
]
````