Skip to content

hammeiam/diligent_ogr

Repository files navigation

TopoJSON conversion for NaturalEarth ESRI Shape Files

Dependencies

This is a little bash script that I used to convert country, state, and city data from NaturalEarth to topojson for use in a D3.js project. File structure will be COUNTRYID1/states.topo.json, COUNTRYID1/STATEID1_cities.topo.json, COUNTRYID1/STATEID2_cities.topo.json.

Be sure to check out the annotated source if you're curious about how it works.

Feel free to use, change, and share as you see fit!

ghit.me

About

Comprehensive topojson processor for NaturalEarth shapefiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages