Book description
Extend your ArcGIS expertise by unlocking the world of Python programming. A fully hands-on guide that takes you through exercise after exercise using real data and real problems. NOTE: This book is compatible with ArcGIS Pro 2.9.
Key Features
- Learn the core components of the two Python modules for ArcGIS: ArcPy and ArcGIS API for Python
- Use ArcPy, pandas, NumPy, and ArcGIS in ArcGIS Pro Notebooks to manage and analyze geospatial data at scale
- Integrate with ArcGIS Online using Python to publish and manage data
Book Description
Integrating Python into your day-to-day ArcGIS work is highly recommended when dealing with large amounts of geospatial data. Python for ArcGIS Pro aims to help you get your work done faster, with greater repeatability and higher confidence in your results.
Starting from programming basics and building in complexity, two experienced ArcGIS professionals-turned-Python programmers teach you how to incorporate scripting at each step: automating the production of maps for print, managing data between ArcGIS Pro and ArcGIS Online, creating custom script tools for sharing, and then running data analysis and visualization on top of the ArcGIS geospatial library, all using Python.
You’ll use ArcGIS Pro Notebooks to explore and analyze geospatial data, and write data engineering scripts to manage ongoing data processing and data transfers. This exercise-based book also includes three rich real-world case studies, giving you an opportunity to apply and extend the concepts you studied earlier.
Irrespective of your expertise level with Esri software or the Python language, you’ll benefit from this book’s hands-on approach, which takes you through the major uses of Python for ArcGIS Pro to boost your ArcGIS productivity.
What you will learn
- Automate map production to make and edit maps at scale, cutting down on repetitive tasks
- Publish map layer data to ArcGIS Online
- Automate data updates using the ArcPy Data Access module and cursors
- Turn your scripts into script tools for ArcGIS Pro
- Learn how to manage data on ArcGIS Online
- Query, edit, and append to feature layers and create symbology with renderers and colorizers
- Apply pandas and NumPy to raster and vector analysis
- Learn new tricks to manage data for entire cities or large companies
Who this book is for
This book is ideal for anyone looking to add Python to their ArcGIS Pro workflows, even if you have no prior experience with programming. This includes ArcGIS professionals, intermediate ArcGIS Pro users, ArcGIS Pro power users, students, and people who want to move from being a GIS Technician to GIS Analyst; GIS Analyst to GIS Programmer; or GIS Developer/Programmer to a GIS Architect. Basic familiarity with geospatial/GIS syntax, ArcGIS, and data science (pandas) is helpful, though not necessary.
Table of contents
- Preface
- Part I: Introduction to Python Modules for ArcGIS Pro
- Introduction to Python for GIS
- Basics of ArcPy
- ArcGIS API for Python
- Part II: Applying Python Modules to Common GIS Tasks
- The Data Access Module and Cursors
- Publishing to ArcGIS Online
-
ArcToolbox Script Tools
- Introduction to script tools
- How to create a script tool
-
Exercise: Turning scripts into tools
- Exporting a Notebook to a script in ArcGIS Pro 2.8
- Copying and pasting cells to a script in ArcGIS Pro 2.7
- Modifying a script to accept user input in the script tool
- Creating your script tool in ArcGIS Pro
- Running and testing the script tool
- Updating the script tool to take census geography files
- Testing input parameters
- Adding custom messages
- Testing the finished script tool
- Summary
- Automated Map Production
- Part III: Geospatial Data Analysis
-
Pandas, Data Frames, and Vector Data
- Introduction to Pandas
-
Exercise: From GeoJSON to CSV to SHP using Pandas
- Normalizing the nested JSON data
- Joining data frames
- Dropping columns
- Creating a CSV
- Creating a Spatially Enabled DataFrame from a DataFrame
- Dropping NaN values using dropna
- Querying the data frame
- Publishing the data to ArcGIS Online
- Converting an ArcGIS Online layer to a DataFrame
- Indexing and slicing DataFrame rows and columns
- Summary
- Raster Analysis with Python
- Geospatial Data Processing with NumPy
- Part IV: Case Studies
- Case Study: ArcGIS Online Administration and Data Management
- Case Study: Advanced Map Automation
- Case Study: Predicting Crop Yields
- Other Books You May Enjoy
- Index
Product information
- Title: Python for ArcGIS Pro
- Author(s):
- Release date: April 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803241661
You might also like
book
Geoprocessing with Python
Geoprocessing with Python teaches you how to use the Python programming language, along with free and …
book
Learning ArcGIS Pro 2 - Second Edition
Create 2D maps and 3D scenes, analyze GIS data, and share your results with the GIS …
book
Learning Geospatial Analysis with Python - Fourth Edition
Harness the powerful Python programming language to navigate the realms of geographic information systems, remote sensing, …
book
Python for Geospatial Data Analysis
In spatial data science, things in closer proximity to one another likely have more in common …