districts icon indicating copy to clipboard operation
districts copied to clipboard

Support topoJSON

Open wilson428 opened this issue 11 years ago • 7 comments

Thrilled for this repo. Mike Bostock offered up some wonderful instructions on how to get topoJSON directly from SHP files:

https://groups.google.com/forum/#!topic/d3-js/a6VdcMv0VmU

wilson428 avatar Jan 10 '14 20:01 wilson428

That's terrific. I've added topoJSON to the list of formats I want here. Is there a us.topojson you have from that project you'd like to contribute?

konklone avatar Jan 12 '14 03:01 konklone

Sure, will do. The baked-in population data is super useful.

I actually use QGIS to clip the political boundaries to the land boundaries so that Michigan doesn't look so weird. This violates Bostock's "Make all the way down" (http://bost.ocks.org/mike/make/) tenet, but I find ogr2ogr to be maddeningly slow and poorly documented for this task.

wilson428 avatar Jan 12 '14 04:01 wilson428

I've just added GeoJSON for all federal CDs, and states, and reshuffled the URLs around a bunch and updated the docs.

konklone avatar Jan 12 '14 23:01 konklone

Just found Simplify.js for polygon simplification, that may be helpful.

konklone avatar Feb 17 '14 18:02 konklone

Actually, us-atlas looks like the winner here.

konklone avatar Feb 26 '14 19:02 konklone

+1 for topoJSON

atticoos avatar Sep 18 '15 05:09 atticoos

FYI. I've added Topojson via #6 Looking for feedback

bradoyler avatar Oct 03 '16 21:10 bradoyler