Skip to content
Map of invasive species in Minnesota
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data-processing
data
visualizations
.gitignore
LICENSE.txt
README.md
requirements.txt

README.md

Minnesota Invasive Species Map

Map of invasive species in Minnesota.

Data

Data from the Minnesota DNR and their awesome Data Deli:

Data processing

  • To work on the TileMill project: cd data-processing/tiles && fab map:mn-invasive link; cd -;
  • In order to get the shapefile into a PostGIS database to do some basic analysis, make sure you have a PostGIS database name Minnpost.
  • Create species metadata:
    • Generate thumbs from CSV, Wikipedia, and DBPedia: cd data-processing && fab vdata_get_thumbs; cd -;
    • Get colors from ColorSuckr: cd data-processing && fab vdata_get_colors:True; cd -;
    • Put colors into TileMill project: cd data-processing && fab vdata_tile_colors; cd -;
    • Get extra DNR data via Scraper Wiki: cd data-processing && fab vdata_get_dnr_data; cd -;
    • Get counts with: cd data-processing && fab vdata_counts; cd -;
  • Export tiles to S3: cd data-processing/tiles && fab map:mn-invasive production export_deploy:32,4,5; cd -;
You can’t perform that action at this time.