Book Image

Learning ArcGIS Pro 2 - Second Edition

By : Tripp Corbin GISP
Book Image

Learning ArcGIS Pro 2 - Second Edition

By: Tripp Corbin GISP

Overview of this book

Armed with powerful tools to visualize, maintain, and analyze data, ArcGIS Pro 2 is Esri's newest desktop geographic information system (GIS) application that uses the modern ribbon interface and a 64-bit processor to make using GIS faster and more efficient. This second edition of Learning ArcGIS Pro will show you how you can use this powerful desktop GIS application to create maps, perform spatial analysis, and maintain data. The book begins by showing you how to install ArcGIS and listing the software and hardware prerequisites. You’ll then understand the concept of named user licensing and learn how to navigate the new ribbon interface to leverage the power of ArcGIS Pro for managing geospatial data. Once you’ve got to grips with the new interface, you’ll build your first GIS project and understand how to use the different project resources available. The book shows you how to create 2D and 3D maps by adding layers and setting and managing the symbology and labeling. You’ll also discover how to use the analysis tool to visualize geospatial data. In later chapters, you’ll be introduced to Arcade, the new lightweight expression language for ArcGIS, and then advance to creating complex labels using Arcade expressions. Finally, you'll use Python scripts to automate and standardize tasks and models in ArcGIS Pro. By the end of this ArcGIS Pro book, you’ll have developed the core skills needed for using ArcGIS Pro 2.x competently.
Table of Contents (20 chapters)
1
Section 1: Introducing and Navigating ArcGIS Pro
4
Section 2: Visualizing, Maintaining, and Analyzing Data
13
Section 3: Sharing Data and Automating processes
18
GIS glossary

Inserting comments into expressions

When writing any code, be it with Arcade, Python, or another programming language, it is considered best practice to add comments within your code that explain the function of a section within the code or provide descriptive information about the code, such as who created it, when it waswritten, the date it was created, and more.

Arcade supports both single-line and multiple-line comments in your Arcade expressions. To add a single-line comment to your code, use //, as in the following code snippet:

//The following line labels a parcel with its owner's name.

When ArcGIS Pro, ArcGIS Enterprise, or ArcGIS Online processes the Arcade code, it will ignore any line that starts with // as if it does not exist and will automatically proceed to the next line in the Arcade expression.

Often, you will need to add more comments within your code that require multiple lines. To add multiple-line comments...