Programming ArcGIS Pro with Python – 2nd Edition
Learn how to automate your ArcGIS Pro 2.x geoprocessing tasks using Python. This book is designed for ArcGIS Pro 2.x. The new 3rd edition of the book is available for ArcGIS Pro 3.x.
Purchase:
$44.00 Printed Paperback Version
Sample Chapter: Chapter 1: Fundamentals of the Python Language
Chapters Include:
Chapter 1: Fundamentals of the Python Programming Language
Chapter 2: Introduction to using Arcpy in ArcGIS Pro
Chapter 3: Executing Geoprocessing Tools from Scripts
Chapter 4: Using the Arcpy Mapping Module to Manage Projects, Maps, Layers, and Tables
Chapter 5: Managing Layouts
Chapter 6: Creating a Map Series
Chapter 7: Updating and Fixing Data Sources
Chapter 8: Querying and Selecting Data
Chapter 9: Using the Arcpy Data Access Module
Chapter 10: Creating Custom Geoprocessing Tools
What You Will Learn From This Book
- Learn the fundamentals of the Python programming language
- Learn how to create variables and assign data.
- Use strings, numbers, lists, tuples, dictionaries, and objects
- Use decision support and looping structures
- Add error handling structures
- Understand arcpy, the arcpy data access module and arcpy mapping modules
- Install, configure, and use PyCharm for writing scripts
- Execute geoprocessing tools from your scripts
- Use the arcpy mapping module to manage your project files, layer files, and the data within them
- Programmatically add and remove layers and tables.
- Symbolize your layers
- Find and fix broken data links
- Automate map production through the creation of a map series
- Work with the camera to programmatically alter the display of 3D scenes
- Query and select data from feature classes and tables
- Use the arcpy data access module to insert, update, and delete records in feature classes and tables
- Create custom geoprocessing tools in custom Python toolboxes
- Much more!
This hands on exercise book starts with an overview of the Python 3.x language. You’ll learn the basic constructs of this powerful, easy to learn language for automating your ArcGIS Pro geoprocessing tasks. You’ll also learn how to install, configure, and write scripts using the popular PyCharm development environment.
We’ll then dive into the details of the ArcGIS Pro arcpy module by learning how to execute geoprocessing tools from your scripts. From there you’ll learn how to manage project and layer files, and manage the data within those files. You’ll discover how to programmatically add, insert, remove, and move layers in table of contents.
Next, you’ll learn how to apply symbology and update properties of layers, work with 2D and 3D display properties, and manage layouts. You’ll also learn how to automate map production through the use of map series functionality, formerly called map books.
The later part of the books covers attribute and spatial queries, and the creation of selection sets for feature classes and tables along with the arcpy data access module for insert, updating, and deleting data from feature classes and tables. Finally, we’ll close the book by discovering how you can create your own custom geoprocessing tools using custom toolboxes with ArcGIS Pro and Python.
Download exercise data from:
After downloading the data unzip to a c:/Student folder on your computer. You should then have a c:/Student/ProgrammingPro folder containing several sub-folders and files.
This book was published April 2021.
Classes on this topic:
Introduction to Programming ArcGIS Pro with Python
Intermediate ArcGIS Pro Programming with Python