This 3 day Python course covers all the fundamentals of the python programming language as well as its use in a GIS environment through the use of the ArcPy GIS library. The course shows you how Python scripting allows you to automate workflows and manipulate and change ArcGIS Pro projects and layers; how its flexibility and fully functional scripting language helps you take your use of ArcGIS Pro to the next level by improving efficiencies and optimising processes.
You will learn: the basics of the Python language; the skills to leverage ArcPy and the Python scripting language to perform and automate Geoprocessing tasks in ArcGIS Pro; to use ArcPy to automate data processing and analysis tasks; how map related tasks can be automated with python scripts with applications for bulk map production, map packaging and data migration using ArcPy.mapping.
ArcGIS Pro Foundations or equivalent ArcGIS Pro experience.
Exercise 1 – Python Basics
- What is Python?
- Python Window
- What is ArcPy?
- Python Variables;
Exercise 2 – Non-tool Functions of ArcPy
- ArcPy Documentation
- Cursors in ArcPy
- Using List Functions of ArcPy;
Exercise 3 – Python for Geoprocessing (ArcPy)
- Using Geometry in Python
- Creating Parameters;
Exercise 4 – Python for Mapping (ArcPy.mapping)
- What is ArcPy.mapping?
- Modifying Maps, Layers and Data Frames using Python
- Exporting Maps to PDF using Python
Exercise 5 – Creating a Python Template
- Header of Comments
- Import statements
- Testing Scripts
Exercise 6 – Data Access Module
- Format String Syntax
- Working with Python dictionaries
- Data Access Module (arcpy.da)
Exercise 7 – Python Toolboxes
- Add Python Script Tool to Standard Toolbox
- Convert Standard Toolbox to Python Toolbox
Exercise 8 – Creating Add-ins using Python
- What is a Python Add-in?
- Create an Add-in Project
Exercise 9 – ArcPy.mapping Module
Exercise 10 – Automating Map Production
- Setting Up a Map Document
- Using Group Layers
Exercise 11 – Creating Map Series:
Exercise 12 – Updating Map Data Sources: