Wednesday, August 1, 2018

GIS Programming Module 10

This week in the lab we worked with taking a completed script and turning it into a usable tool in ArcMap. We set certain parameters for the tool and adjusted the script to then pull from the user inputs to make it universal. See the parameter settings and results windows below along with the steps to creating a tool.
1. The first step is to create the toolbox shell in ArcCatalog

2. Next you create a script tool in the toolbox and attach your .py script to the tool. This gives the tool guidelines on how to run.

3. Next you set parameters for data entry. This will allow for a better user interface and correct data entry.

4. Finally adjust your script to accept the data entered by the user instead of hard set file paths.

5. Check your script tool to confirm the proper operation.


No comments:

Post a Comment