To get the most out of this book
To follow along with the exercises in this book, you need to have ArcGIS Pro 2.7 or higher installed, along with the Python version that is installed with ArcGIS Pro. Don’t worry, though - in Chapter 2, we will guide you through how to check your environment is set up properly before you begin.
Download the example code files
The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Python-for-ArcGIS-Pro. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781803241661_ColorImages.pdf
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “ArcGIS Pro comes with a default environment called arcgispro-py3
.”
A block of input code is set as follows:
from arcgis.gis import GIS
from IPython.display import display
gis = GIS('home')
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are highlighted:
from arcgis.gis import GIS
from IPython.display import display
gis = GIS('home')
Any Notebook output is written as follows:
<Item title:"Farmers Markets in Alameda County" type:Feature Layer Collection owner:billparkermapping>
<Item title:"Farmers Markets in Alameda County" type:CSV owner:billparkermapping>
Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes. For example: “However, it is not just a Python package: it is also an application programming interface (API).”
Warnings or important notes appear like this.
Tips and tricks appear like this.