Skip to content
Roll your own TopoJSON from NHDPlus.
JavaScript Makefile HTML
Find file
Latest commit f5fd9c5 @mbostock Merge pull request #3 from Caged/update-data-locations
update locations of various data archives to most recent versions
Failed to load latest commit information.
bin Fix Hudson Bay.
html Add sample rendering code.
.gitignore Add bin/rasterize.
LICENSE Add LICENSE.
Makefile update locations of various data archives to most recent versions
README.md
package.json Add bin/rasterize.

README.md

U.S. Rivers

us-rivers

Also available in massive 3840x2400 resolution, or roll your own using the below instructions.

To install:

brew install p7zip cairo pixman optipng
npm install

If the installation of the node-canvas module fails for you, you can try this after the above:

PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig npm install canvas

To make the above PNG for the entire United States (it’s big!), type make. Or, to make a TopoJSON file for a specific NHD region, specify a target. For example, California:

make topo/18.json

This project was inspired by Nelson Minar’s work on a vector river map.

Something went wrong with that request. Please try again.