GerryPy is a geospatial algorithm for building congressional districts.
GerryPy takes census tracts for the state of Colorado and builds the required number of congressional districts. The algorithm attempts to make districts compact and close to the required population of 711,000. Each algorithm attempt produces a different result.
gerrypy.herokuapp.com
GerryPy is built in Python and uses a PostGRES/PostGIS database.
PostGIS functions and GoogleMaps support and display the spatial data.
Pyramid ORM and Bootstrap for the website.
-
Added criteria for how the algorithm should prefer to group census tracts.
-
Support for all 50 states.
-
Run algorithm multiple times and select the best one.
-
Implement Mapbox or other modern map tool for front end.
-
Update Logo
MIT License