us-atlas 0,1,0,0 npm

Roll your own TopoJSON from the National Atlas and U.S. Census Bureau.

2 years after BSD-3-Clause

U.S. Atlas TopoJSON

This repository provides a convenient mechanism for generating TopoJSON files from the National Atlas one million-scale dataset and U.S. Census Bureau shapefiles.

Visual Index

airports
amtrak
cbsa
coast
congress
counties
ferries
nation
ports
railroads
roads
states
streams
waterbodies
zipcodes

Installing via Homebrew

Before you can make any TopoJSON files, you’ll need to install Node.js and GDAL. Here’s how to do that using Homebrew on Mac OS X:

brew install node gdal

Then, clone this repository and install its dependencies:

git clone https://github.com/mbostock/us-atlas.git
cd us-atlas
npm install

If the installation of node-canvas fails for you, try

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

Or, add this to your ~/.bash_profile:

export PKG_CONFIG_PATH="/opt/X11/lib/pkgconfig"

If you want to install this software using an alternate method see the website for TopoJSON. I also recommend reading my tutorial, Let’s Make a Map.

Make Targets

Once you have everything installed, you can make various targets defined in the Makefile.

topo/us-10m.json

The U.S. county, state and nation boundaries simplified at 1:10,000,000 scale.

topo/us-congress-10m.json

The districts of the 113th U.S. Congress simplified at 1:10,000,000 scale.

There are partial targets defined for a large number of other boundary areas and geographic features. However, you’ll have to figure these out on your own for now. Sorry!

Related Repositories

Atlas

Atlas

A high-performance and stable proxy for MySQL, it is developed by Qihoo's DBA an ...

world.geo.json

world.geo.json

Annotated geo-json geometry files for the world ...

awesome-geojson

awesome-geojson

GeoJSON utilities that will make your life easier. ...

Atlas-Messenger-iOS

Atlas-Messenger-iOS

Example messenger / chat app for iOS using Atlas and Layer ...

atlas-examples

atlas-examples

Public examples for using Atlas by HashiCorp ...


Top Contributors

mbostock NelsonMinar llimllib mourner

Dependencies

package version
dev d3-dsv ^1.0.3
d3-geo-projection ^2.0.0
ndjson-cli ^0.3.0
shapefile ^0.6.1
topojson-server ^3.0.0
topojson-client ^3.0.0
topojson-simplify ^3.0.0

Releases

-   v0.0.4 zip tar
-   v0.0.3 zip tar
-   v0.0.2 zip tar