Installing esridump on Windows
I just wrote these notes up for a friend. esridump is a Python tool that will take the URL from an ESRI ArcGIS REST server and dump all the data in it to a GeoJSON file. It works by doing REST queries on the predicate “where 1=1;”, the only subtle thing is you have to paginate the requests because there’s a limit to the number of results from one query. It’s a nice tool; there are several others floating around out there like it.
Installing it is basically as simple as “pip install esridump”. It has very few dependencies, no GDAL or other GIS giant libraries. But I wrote these detailed notes for a friend of mine:
ArcGIS RES
- Install Python 3.7.3. Make sure to click “Add Python 3.7 to PATH” when installing.
- open a cmd shell, everything else is in there
cd Documentsmkdir pyesricd pyesripython -m venv venvvenv\Scripts\activate.batpip install esridumpvenv\scripts\esri2geojson.exe http://SERVER-URL/ out.json