A collection of ArcGIS python scripts for different tasks
This repository assumes you have the "arcgis" python library installed.
For ease of use, since we're working with ArcGIS, you should run everything from "Python Command Prompt", which is installed with ArcGIS Pro and ArcGIS Server.
User version 3.2 or later of Pro, or 11.3 or later for Server.
It's possible to install the arcgis library on a pure python installation using:
python -m pip install arcgisThe following steps will generate the necessary config file and create a profile for ArcGIS Enterprise access
- Start Python Command Prompt (comes with ArcGIS Pro / Server)
- Change to the folder where you have this repository downloaded / extracted:
# Example where the files are located in c:\repos\arcgis-scripts
# Type the two following lines, pressing Enter after each to "execute" it
c:
cd\repos\arcgis-scripts- Run the script quickstart.py
python quickstart.py- Start Python Command Prompt from the start menu
- Change to the subfolder scripts in the folder where you downloaded /extracted this repository:
# Example where the files are located in c:\repos\arcgis-scripts
# Type the two following lines, pressing Enter after each to "execute" it
c:
cd\repos\arcgis-scripts\scripts- Type jupyter lab and press enter
- Open and run stuff