blob: 04bfb539a420403aac4981a96c9d2358b919bac1 [file] [log] [blame]
Paul Greysonc090d142013-04-09 16:59:03 -07001see: http://bost.ocks.org/mike/map/
2
3brew install gdal
4npm install -g topojson
5
6download: http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/ne_50m_admin_1_states_provinces_lakes_shp.zip
7
8$ ogr2ogr -f GeoJSON -where "sr_adm0_a3 IN ('USA')" states.json ~/Desktop/ne_50m_admin_1_states_provinces_lakes_shp/ne_50m_admin_1_states_provinces_lakes_shp.shp
9$ topojson -o states.json world.json
10