A zoomable map of iNaturalist observations made using Datashader and Leaflet.
More: interactive map, blog post.
iNaturalist makes available a full dataset of observations, which is what I used to generate the map.
Go to https://www.inaturalist.org/pages/developers and look for the "GBIF DarwinCore Archive" link. Download and unzip the archive, then move the observations.csv to the data directory.
Create a conda environment with the following (note that conda has a machine optimized version of datashader):
conda env create -f environment.yml
The preprocess the observations.csv file to remove unneeded columns, and to convert the lat/long fields to metres.
python preprocess.py
Generate the tiles as follows:
python generate_tiles.py
Then run a webserver to serve them:
python -m http.server 8008
And open http://localhost:8008/