Creating Python Scripts for ArcGIS
Strictly by pre-registration only
What is this course about?
Course details
Location
Singapore
Duration
3 days
Level
Intermediate
Category
Development and Scripting
Are there any prerequisites?
• Knowledge of Python syntax and experience creating Python scripts is required.
• Basic programming skills, including using loops and conditional statements, are required.
What skills will I learn?
After completing this course, you will be able to perform the following tasks:
-
Use automation techniques to repeat geoprocessing tasks in a Python script.
-
Share a Python script tool within the ArcGIS platform.
What can I expect?
- Course topics
1. Python automation for your organization
- Benefits of Python automation
- Automation of GIS tasks
- How to access Python in ArcGIS Pro
2. Using geoprocessing tools in Python
- Discovering the syntax of a geoprocessing tool
- Constructing a code snippet to run a geoprocessing tool in the Python window
- Incorporating variables in a code snippet
3. Using Describe object properties in geoprocessing tools
- Exploring the available Describe object properties
- Using the Describe function to access properties
4. Automating Python scripts with lists
- List creation based on GIS data
- Using lists to create loops
- Integrating lists into a Python script to handle different datasets
5. Working with cursors
- Types of cursors
- Using cursors to manipulate data
6. Geoprocessing with geometry objects
- Creating geometry objects
- Accessing and updating geometry
- Using geometry objects in a geoprocessing tool
7. Error management techniques
- Determining which error handling technique to use for a given scenario
- Applying error management techniques to prevent script failure
8. Creating a Python script tool
- Using ArcPy functions to receive user input
- Customizing input and output parameters in a Python script tool
- Creating a Python script tool
9. Adding validation to script tools
- Using validation to customize script tool behaviour
- Understanding the ToolValidator methods
- Adding custom messaging to a tool dialog box
10. Using Python script tools in the platform
- Sharing options within the ArcGIS platform
- Creating a geoprocessing package to share your Python script tool
- Online techniques for sharing your Python script tool
- Using a shared Python script tool in other applications