Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.06 KB

U.S. Roads

us-roads

A fork of Mike Bostock's awesome us-rivers project, but adapted for 2012 TIGER/Line roads.

Inspired by and a re-creation of Fathom Information Design's All Streets print.

To install:

brew install p7zip cairo pixman optipng gdal
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

See the wiki for more install help.

To make the above PNG for the entire United States, type make.

Make a TopoJSON file for a specific state:

make topo/pa-roads.json

Make a Shapefile for a specific state:

make shp/wa.shp