Billy: Latitude and longitude sometimes mis-ordered

Description

All instances should be lat-lng, not the other way. For example, in the `/district/boundary/` Billy endpoint, the `shape` element has them mis-ordered but the `bbox` has them correctly ordered:
http://openstates.org/api/v1/districts/boundary/ocd-division/country:us/state:nc/sldl:100/?apikey=$APIKEY

I think this might be the part of our codebase that causes the issue, which hasn't been changed since 2011:
https://github.com/sunlightlabs/billy/blob/master/billy/web/api/handlers.py#L516

Status

Assignee

Andy Lo

Reporter

Miles Watkins

Priority

Normal
Configure