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

Configuring expressions to label with multiple field values

Creating an Arcade expression that labels features with values pulled from more than one field in its attribute table is pretty straightforward, meaning the syntax is not complicated. It could be as simple as using the following code, for example:

$feature.Parcel_No+$feature.Acre

The preceding code would label each feature in the layer with its parcel number (Parcel_No) and its area in acres (Acre), as in the following screenshot:

As you can see from the preceding screenshot, while each feature is labeled with both the parcel number and its acreage, it is hard to tell where one stops and the other begins. Adding a space between the two values would certainly help. To add a space between the two values, see the sample code that follows:

$feature.Parcel_No+' '+$feature.Acre

Here, we added +, followed by...