Created
November 12, 2018 00:10
-
-
Save lukewhyte/f5e64b9bb719e07cdf25fdbc5a8ccb4b to your computer and use it in GitHub Desktop.
Convert shapefiles to GeoJSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| shp2json cb_2017_us_state_20m.shp > states.geojson # Convert state shapefile to geojson | |
| shp2json cb_${YEAR}_us_cbsa_20m.shp > metroareas.geojson # Convert metro area shapefile to geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment