Created
September 21, 2016 18:09
-
-
Save bmcbride/c658a9d777f390f1c0f6d5cf5d0e0dcf to your computer and use it in GitHub Desktop.
Bash script for fetching GeoJSON data from Fulcrum and converting to shapefile via ogr2ogr
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
#!/bin/bash | |
curl "https://web.fulcrumapp.com/shares/{token}.geojson" > records.geojson | |
ogr2ogr -f "ESRI Shapefile" records.shp records.geojson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment