Skip to content

Instantly share code, notes, and snippets.

@bmcbride
Created September 21, 2016 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmcbride/c658a9d777f390f1c0f6d5cf5d0e0dcf to your computer and use it in GitHub Desktop.
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
#!/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