18F/peacecorps-site — pull request #116 by cmc333333 (2014-12-02 05:38:22+00:00)
Title: Separate SVG country files

`cropmap.py` implements `country_map.js`, but as a one-off script that generated many individual country files. We can tweak this script as needs arise, and re-run to generate new svgs.

The script strips out country data outside the view box, but it could certainly be modified to simplify the shapes to reduce file size.

The script requires an external library, but as that library isn't needed for normal operations, and doesn't have a `setup.py`, I've just added instructions for how to get it.