Skip to content

Instantly share code, notes, and snippets.

@aaronpdennis
Last active September 5, 2018 09:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronpdennis/3d6c901739eb25cde8cfeeea524857bb to your computer and use it in GitHub Desktop.
Save aaronpdennis/3d6c901739eb25cde8cfeeea524857bb to your computer and use it in GitHub Desktop.

Extract data from ESRI REST endpoint to GeoJSON (on Windows)

  1. Find ESRI FeatureServer or MapServer
  1. Install Python (with pip) for command line use
  1. Setup a Virtual Environment
  1. Install pyesridump command line utility
  1. Get GeoJSON from ESRI endpoint
  • > esri2geojson <FeatureServer or MapServer URL> <outfile>
  • > esri2geojson https://gisweb.birminghamal.gov/arcgis/rest/services/CouncilDistrict/MapServer/0 birmingham_council_districts.geojson

Resources for making ArcGIS REST services private:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment