autoredistrict
autoredistrict copied to clipboard
Programmatically makes a fair congressional district map (prevents gerrymandering)
one thing i've struggled with a lot is getting good clean data on vote counts at the voting tabulation district level. I've been able to get clean vtd-level shapefiles and...
apparently it complains there's no x-window manager on linux when trying to run headless. so you have to fake one with xvfb: http://askubuntu.com/questions/50599/how-do-you-run-a-gui-application-without-gui-gui-application-as-daemon-on-headl explain this somewhere, like in a readme.
in draw labels mode, sometimes districts are missing their labels. also on export to html, sometimes it just exports a gray box - maybe this is just a matter of...
this could be usefull... export maps to .svg (vector graphic) using for example: http://stackoverflow.com/questions/811916/export-jpanel-to-vector-graphics and then: http://stackoverflow.com/questions/22653134/eps-to-svg-conversion-for-pdf-output
initial download vtd never finishes, stuck at download screen after extracting. fairvote.org noticed the issue.
ability to show county labels in map mode: counties
add download from autoredistrict.org file menu option also add this repo: https://github.com/aaron-strauss/precinct-shapefiles
add ability to import data at lower res (such as county) would proportionally de-aggregate to vtd's based on population % of the county (or whatever column is selected).
loading vtd file with map already loaded doesn't appear to refresh map old map stays there. not sure if the geofile is even loaded. i've been just restarting the app.
available scripts: - download all states - integrate all states you check them, and then hit "run selected scripts" and it'll run them in order.