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

Defining a variable

When writing code for expressions, scripts, or applications, a variable is something that you can assign a value to and then use the variable in place of the value. This makes it easier to type as you write your code because the variable that you create is often shorter than the real value.

For example, you could create a variable called X and then say that it equals Peachtree Industrial Boulevard. So, any time in your code that you need to reference the Peachtree Industrial Boulevardvalue, you could just type X in the code and the application would know that that meant Peachtree Industrial Boulevard.

In Arcade, to create a variable, you must declare it using a Var statement. The following code is an example of a variable in an Arcade expression:

Var owner = "Tripp"
Return owner;

The preceding code will return a value of Tripp to the application running the expressions. One other thing that you need...