Last active
December 15, 2015 06:19
-
-
Save caseycesari/5215112 to your computer and use it in GitHub Desktop.
Get the latest version of the Azavea Neighborhoods shapefile and convert it to topojson.
This file contains 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
Neighborhoods_Philadelphia.shp: | |
git clone git@github.com:azavea/geo-data.git | |
touch geo-data/Neighborhoods_Philadelphia/Neighborhoods_Philadelphia.shp | |
neighborhoods.json: Neighborhoods_Philadelphia.shp | |
ogr2ogr -f "GeoJSON" -t_srs "EPSG:4326" neighborhoods.json geo-data/Neighborhoods_Philadelphia/Neighborhoods_Philadelphia.shp | |
neighborhoods-topo.json: neighborhoods.json | |
topojson -o neighborhoods-topo.json --id-property NAME neighborhoods.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment