Python for ArcGIS Pro - 2 Edition - Automate cartography and data analysis using ArcPy, ArcGIS API for Python, Notebooks, and… (Glen Bambrick, Silas Toms, William Parker)(Z-Library)
python
Learn to automate repetitive GIS tasks with Python, ArcPy, and the ArcGIS API for Python. Discover how to streamline ArcGIS Pro, manage ArcGIS Online, analyze spatial data, and build complete geospatial workflows.
10
Views
0
Downloads
0.00
Total Donations
AI Guide
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
AI guide
【One-Line Pitch】
This is a practical, hands-on guide for GIS professionals and analysts who want to automate repetitive mapping and data tasks in ArcGIS Pro using Python, ArcPy, and the ArcGIS API for Python—covering everything from Python fundamentals to building complete geospatial workflows.
【Book Arc】
- **Opening (~0%–6%)**: Introduces the book's purpose—automating cartography and data analysis—and sets expectations for a hands-on, workflow-oriented approach using Python, ArcPy, and ArcGIS API for Python.
- **Early (~6%–16%)**: Covers Python's origins, design philosophy (e.g., the Zen of Python), and why it became the standard scripting language for GIS, including its simplicity, extensibility, and free/open-source nature.
- **Early (~16%–28%)**: Explains how Python is installed with ArcGIS Pro, where the interpreter and virtual environment live, how to run scripts via IDLE, command line, or IDEs like PyCharm, and how to handle Windows file path quirks (raw strings, forward slashes).
- **Middle (~28%–47%)**: Dives into core programming concepts—variables, data types (strings, ints, floats, lists, dicts), loops, conditionals, indexing, and comments—using Python-specific examples and syntax, with a focus on practical GIS scripting.
- **Middle (~47%–53%)**: Continues with deeper Python fundamentals, including string manipulation, formatting, and data type checking, laying the groundwork for using these skills with ArcPy and ArcGIS Pro tools in later chapters.
【Key Takeaways】
- **Python is the automation backbone of ArcGIS Pro** (Early): ArcGIS Pro ships with a dedicated Python 3 environment (arcgispro-py3) that includes arcpy and arcgis modules, making it the default tool for scripting repetitive GIS tasks.
- **Python's design prioritizes readability and simplicity** (Early): Features like forced indentation, dynamic typing, and a "one right way" philosophy (Zen of Python) reduce errors and make code easier to maintain—ideal for GIS analysts who aren't full-time programmers.
- **Know where Python lives and how to run it** (Early): The interpreter, IDLE, command line, and IDEs like PyCharm all work, but the key is using the ArcGIS-bundled environment to ensure arcpy is accessible.
- **Windows file paths are a common pitfall** (Early): Backslashes in paths can break scripts; use raw strings (r'...'), forward slashes, or escaped backslashes to avoid errors when passing paths to arcpy functions.
- **Master core Python data types before touching ArcPy** (Middle): Variables, strings, lists, dicts, booleans, and loops are the building blocks—understanding them makes ArcPy code far easier to write and debug.
- **String handling is essential for GIS scripting** (Middle): Strings store names, paths, and attributes; knowing how to concatenate, format, and manipulate them is critical for building dynamic file paths and queries.
- **Python's error tracebacks are your debugging friend** (Middle): While not perfect, tracebacks show the offending line and error type, helping you fix scripts faster than guessing.
【Reading Tips】
- **Skim the Python history and philosophy sections** (Early): They're interesting but not essential for coding; focus instead on the practical setup and file path guidance.
- **Deep-read the programming basics chapter** (Middle): This is the foundation for everything else—make sure you understand variables, data types, loops, and conditionals before moving on.
- **Practice the file path solutions immediately** (Early): Raw strings and forward slashes are small but crucial details that will save you hours of debugging later.
- **Use the included Python environment, not a separate install** (Early): Stick with the ArcGIS-bundled Python to avoid module conflicts and ensure arcpy is available.
- **Treat the book as a reference, not just a read-through** (Overall): The early chapters are dense with fundamentals; return to them when you hit a syntax or logic issue in later workflow examples.
【Coverage Limits】
The excerpts cover only the introductory and Python-fundamentals portion of the book (roughly the first half). They do not include the later chapters on ArcPy, ArcGIS API for Python, Notebooks, pandas, or complete geospatial workflows—those are mentioned in the blurb but not detailed in the available material.
Passage locations
Excerpt 1
edges right now, but our authors will update them over time. You can dip in and out of this book or follow along from start to finish; Early Access is design...
View in text
Excerpt 2
SF: https://www.python.org/downloads/ Where is it installed? On Windows machines, Python is not included by default; it will be installed along with ArcGIS P...
View in text
Excerpt 3
system operations and Python system operations respectively. The os module The os module is used for many things, including folder path operations such as cr...
View in text
Excerpt 4
ue pair data types are also known as dictionaries in Python. Dict A set is a data type that contains distinct, immutable objects. set , frozenset Boolean is...
View in text
Recommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later
Tip the Site
Scan the WeChat Pay or Alipay code to tip. No login required.
WeChat Pay
Alipay