44,39 €
ArcGIS is Esri's catalog of GIS applications with powerful tools for visualizing, maintaining, and analyzing data. ArcGIS makes use of the modern ribbon interface and 64-bit processing to increase the speed and efficiency of using GIS. It allows users to create amazing maps in both 2D and 3D quickly and easily.
If you want to gain a thorough understanding of the various data formats that can be used in ArcGIS Pro and shared via ArcGIS Online, then this book is for you.
Beginning with a refresher on ArcGIS Pro and how to work with projects, this book will quickly take you through recipes about using various data formats supported by the tool. You will learn the limits of each format, such as Shapefiles, Geodatabase, and CAD files, and learn how to link tables from outside sources to existing GIS data to expand the amount of data that can be used in ArcGIS. You'll learn methods for editing 2D and 3D data using ArcGIS Pro and how topology can be used to ensure data integrity. Lastly the book will show you how data and maps can be shared via ArcGIS Online and used with web and mobile applications.
Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:
Seitenzahl: 671
Veröffentlichungsjahr: 2018
Copyright © 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Arun LazarAcquisition Editor: Nitin DasanContent Development Editor: Nikhil BorkarTechnical Editor: Jash BavishiCopy Editor: Safis EditingProject Coordinator: Ulhas KambaliProofreader: Safis EditingIndexer: Pratik ShirodkarGraphics: Tania DuttaProduction Coordinator: Aparna Bhagat
First published: February 2018
Production reference: 1260218
Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.
ISBN 978-1-78829-903-9
www.packtpub.com
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Tripp Corbin, GISP has over 20 years of surveying, mapping, and GIS-related experience, and he is recognized as a geospatial industry leader with expertise in a variety of geospatial software packages, including Esri, Autodesk, and Trimble products. His experience is backed by multiple industry certifications—he is a Certified GIS Professional (GISP), Esri Certified Enterprise System Design Associate, and Desktop Professional among others.
Timothy J. Gaunt, GISP, has over 10 years of experience in information technology with a focus on networking, communications, enterprise software deployment, and server maintenance. Over the years, he has installed and configured Windows Server, ArcGIS, Microsoft SQL Server, and APIs for customizing web and mobile GIS applications. He has also undertaken development with Windows PowerShell, Python, HTML, Visual Basic, security system configuration, order system overhauls, and website creation and design. Gaunt has been working with eGIS Associates as an Enterprise IT and GIS specialist since 2012.
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Title Page
Copyright and Credits
ArcGIS Pro 2.x Cookbook
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
ArcGIS Pro Capabilities and Terminology
Introduction
Determining whether your computer can run ArcGIS Pro
Getting ready
How to do it...
How it works...
Determining your ArcGIS Pro license level
Getting ready
How to do it...
How it works...
There's more...
Opening an existing ArcGIS Pro project
Getting ready
How to do it...
How it works...
There's more...
Opening and navigating a map
Getting ready
How to do it...
How it works...
Adding and configuring layers
Getting ready
How to do it...
How it works...
Creating a project
Getting ready
How to do it...
How it works...
There's more...
ArcGIS Pro stock project templates
Creating and Storing Data
Introduction
Adding Raster and Vector data to a map 
Getting ready
How to do it...
How it works...
Creating a new Geodatabase
Getting ready
How to do it...
How it works...
Creating a new Shapefile
Getting ready
How to do it...
How it works...
Adding CAD data to a map
Getting ready
How to do it...
How it works...
Plotting X,Y points from a table
Getting ready
How to do it...
How it works...
Geocoding addresses
Getting ready
How to do it...
How it works...
Linking Data together
Introduction
Joining two tables
Getting ready
How to do it...
How it works...
Labeling features using a joined table
Getting ready
How to do it...
Querying data in a joined table
Getting ready
How to do it...
Creating and using a Relate
Getting ready
How to do it...
There is more….
Joining features spatially
Getting ready
How to do it...
Creating feature linked annotation
Getting ready
How to do it...
How it works...
Creating and using a relationship class using existing data
Getting ready
How to do it...
Editing Spatial and Tabular Data
Introduction
Configuring editing options
Getting ready
How to do it...
Reshaping an existing feature
Getting ready
How to do it...
How it works...
Splitting a line feature
Getting ready
How to do it...
Merging features
Getting ready
How to do it...
How it works...
Aligning features
Getting ready
How to do it...
How it works...
Creating new point features
Getting ready
How to do it...
Creating new line features
Getting ready
How to do it...
Creating new polygon features
Getting ready
How to do it...
Creating a new polygon feature using autocomplete
Getting ready
How to do it...
How it works…
Editing attributes using the Attribute pane
Getting ready
How to do it...
Editing attributes in the Table view
Getting ready
How to do it...
Validating and Editing Data with Topologies
Introduction
Creating a new geodatabase topology
Getting ready
How to do it...
Validating spatial data using a geodatabase topology
Getting ready
How to do it...
Correcting spatial features with topology tools
Getting ready
How to do it...
Editing data with a map topology
Getting ready
How to do it...
Projections and Coordinate System Basics
Introduction
Determining the coordinate system for an existing map
Getting ready
How to do it...
Setting the coordinate system for a new map
Getting ready
How to do it...
Changing the coordinate system of a map
Getting ready
How to do it...
Defining a coordinate system for data
Getting ready
How to do it...
Projecting data to different coordinate systems
Getting ready
How to do it...
Converting Data
Introduction
Converting shapefiles to a geodatabase feature class
Getting ready
How to do it...
There’s more…
Merging multiple shapefiles into a single geodatabase feature class
Getting ready
How to do it...
There’s more…
Exporting tabular data to an Excel spreadsheet
Getting ready
How to do it...
Importing an Excel spreadsheet into ArcGIS Pro
Getting ready
How to do it...
There’s more…
Importing selected features into an existing layer
Getting ready
How to do it...
Proximity Analysis
Introduction
Selecting features within a specific distance
Getting ready
How to do it...
Creating buffers
Getting ready
How to do it...
There’s more…
Determining the nearest feature using the Near tool
Getting ready
How to do it...
There’s more…
Calculating how far features are using the Generate Near Table tool
Getting ready
How to do it...
There’s more…
Spatial Statistics and Hot Spots
Introduction
Identifying hot spots
Getting ready
How to do it...
Finding the mean center of geographic distribution
Getting ready
How to do it...
There’s more…
Identifying the central feature of geographic distribution
Getting ready
How to do it...
Calculating the geographic dispersion of data
Getting ready
How to do it...
3D Maps and 3D Analyst
Introduction
Creating a 3D scene
Getting ready
How to do it...
Enabling your data to store Z coordinates (elevation)
Getting ready
How to do it...
Creating multipatch features from 2D
Getting ready
How to do it...
Creating 3D features
Getting ready
How to do it...
Calculating lines of sight
Getting ready
How to do it...
Calculating the volume of a polygon
Getting ready
How to do it...
Introducing Arcade
Introduction
Applying prebuilt Arcade expressions
Getting ready
How to do it...
Creating an Arcade labeling expression
Getting ready
How to do it...
Creating an Arcade symbology expressions
Getting ready
How to do it...
Introducing ArcGIS Online
Introduction
Logging into your ArcGIS Online account
Getting ready
How to do it...
Creating a simple web map in ArcGIS Online
Getting ready
How to do it...
Accessing ArcGIS Online content in ArcGIS Pro
Getting ready
How to do it...
Accessing simple demographic data in ArcGIS Pro
Getting ready
How to do it...
Using the ArcGIS Online geoprocessing services
Getting ready
How to do it...
Publishing Your Own Content to ArcGIS Online
Introduction
Publishing shapefiles using your browser
Getting ready
How to do it...
Creating a layer using a CSV file
Getting ready
How to do it...
Publishing layer packages using ArcGIS Pro
Getting ready
How to do it...
Publishing web layers using ArcGIS Pro
Getting ready
How to do it...
Publishing 2D maps
Getting ready
How to do it...
Sharing published content
Getting ready
How to do it...
Creating Web Apps Using ArcGIS Online
Introduction
Creating a simple web app using an Esri template
Getting ready
How to do it...
Creating a custom application with Web AppBuilder
Getting ready
How to do it...
Sharing your applications
Getting ready
How to do it...
Embedding an ArcGIS Online web map in a web page
Getting ready
How to do it...
Other Books You May Enjoy
Leave a review - let other readers know what you think
ArcGIS Pro is Esri's newest desktop GIS application with powerful tools for visualizing, maintaining, and analyzing data. ArcGIS Pro makes use of the modern ribbon interface and 64-bit processing to increase the speed and efficiency of GIS. It allows users to create amazing maps in both 2D and 3D quickly and easily.
If you want to gain a thorough understanding of how ArcGIS Pro can be used to perform various types of geospatial analysis, how to work with various data formats, and how to share your ArcGIS Pro results via ArcGIS Online, then this book is for you.
Beginning with a refresher on ArcGIS Pro and how to work with projects, this book will quickly take you through recipes on using various data formats supported within the application. You will learn the limits of each format such as Shapefiles, Geodatabase, and CAD files, and see how to convert the data to the format that best suites your needs. Next, you will learn how to link tables from outside sources to existing GIS data to expand the amount of data that can be used in ArcGIS Pro. From there, you will dive into ways to edit 2D and 3D data using ArcGIS Pro and understand how topology can be used to ensure data integrity. We will explore different analysis tools that allow us to perform both 2D and 3D analysis. Lastly, the book will show how data and maps can be shared via ArcGIS Online and used with web and mobile applications. This book will also introduce you to ArcGIS Arcade, Esri's new expression language, which is supported across the entire ArcGIS platform.
If you have limited experience with ArcGIS and want to learn more about how ArcGIS Pro works and the powerful tools for data maintenance, analysis, and sharing it contains, this is the book for you. It is also a great resource for those migrating from ArcGIS Desktop (ArcMap and ArcCatalog) to ArcGIS Pro.
Chapter 1, ArcGIS Pro Capabilities and Terminology, reviews basic ArcGIS Pro functionality and terms.
Chapter 2, Creating and Storing Data, examines ArcGIS Pro's ability to use different storage data formats.
Chapter 3, Linking Data together, explains how to link external data to your GIS for use in analysis and display.
Chapter 4, Editing Spatial and Tabular Data, explores various tools for creating and editing new features in your GIS databases.
Chapter 5, Validating and Editing Data with Topologies, shows how to use topologies to improve the accuracy of your data and increase editing efficiency.
Chapter 6, Projections and Coordinate System Basics, explains the importance of coordinate systems in GIS and how to move your data from one to another.
Chapter 7, Converting Data, steps you through various methods you can use to convert GIS data from one storage format to another.
Chapter 8, Proximity Analysis, explores different tools for determining how far or near features in a map are from one another.
Chapter 9, Spatial Statistics and Hot Spots, shows how you can locate clusters, spot patterns, and determine the spatial center of a collection of features.
Chapter 10, 3D Maps and 3D Analyst, shows how you can use ArcGIS Pro and the 3D analyst extension to perform 3D analysis such as calculating sight lines and volumes.
Chapter 11, Introducing Arcade, shows how you can create labeling and symbology expressions using the new Arcade expression language.
Chapter 12, Introducing ArcGIS Online, steps you through connecting to your ArcGIS Online account and how to access content that others have published to create a web map.
Chapter 13, Publishing Your Own Content to ArcGIS Online, takes you through the process of publishing your own content to ArcGIS Online so that others in your organization can access it.
Chapter 14, Creating Web Apps Using ArcGIS Online, shows you how you can create your own web GIS applications without having to be a programmer.
This book assumes that the reader has at least some knowledge of ArcGIS Pro. It is recommended that you have read and worked through the exercises in the
Learning ArcGIS Pro
book by Packt Publishing or have previous real-world experience using ArcGIS Pro or ArcMap.
You will need to have ArcGIS Pro 2.1 or later installed with a Standard or higher license along with a license for the 3D Analyst extension for ArcGIS Pro in order to complete all the recipes in this book. If you are limited to a basic license or don't have a 3D Analyst license, you will still be able to complete the majority of the recipes, just not all of them.
You will need a username and a login password for ArcGIS Online with at least Publisher-level permissions.
You will need to download and install the sample data files as instructed in the
Download the example code files
section.
If you do not have a license for ArcGIS Pro, 3D Analyst extension, or ArcGIS Online, you can request a trial license from Esri at
http://www.esri.com/arcgis/trial
.
You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
Log in or register at
www.packtpub.com
.
Select the
SUPPORT
tab.
Click on
Code Downloads & Errata
.
Enter the name of the book in the
Search
box and follow the onscreen instructions.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
WinRAR/7-Zip for Windows
Zipeg/iZip/UnRarX for Mac
7-Zip/PeaZip for Linux
The code bundle for the book is also hosted on GitHub athttps://github.com/PacktPublishing/ArcGIS-Pro-2.x-Cookbook. We also have other code bundles from our rich catalog of books and videos available athttps://github.com/PacktPublishing/. Check them out!
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: http://www.packtpub.com/sites/default/files/downloads/ArcGISPro2.xCookbook_ColorImages.pdf.
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. Here is an example: "Navigate to C:\Student\ArcGISProCookbook\Chapter2\RasterVector by clicking on C:\ in the area on the left."
A block of code is set as follows:
if (cond=="Good") { return "<CLR green='255'>"+name+"</CLR>" }if (cond=="Fair") { return name }else { return "<BOL><CLR red='255'>"+name+"</CLR></BOL>" }
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select the Map tab in the ribbon and then click the small arrowhead located under Bookmarks."
In this book, you will find several headings that appear frequently (Getting ready, How to do it..., How it works..., There's more..., and See also).
To give clear instructions on how to complete a recipe, use these sections as follows:
This section tells you what to expect in the recipe and describes how to set up any software or any preliminary settings required for the recipe.
This section contains the steps required to follow the recipe.
This section usually consists of a detailed explanation of what happened in the previous section.
This section consists of additional information about the recipe in order to make you more knowledgeable about the recipe.
This section provides helpful links to other useful information for the recipe.
Feedback from our readers is always welcome.
General feedback: Email [email protected] and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected].
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.
Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.
If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.
Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!
For more information about Packt, please visit packtpub.com.
In this chapter, we will cover the following recipes:
Determining whether your computer can run ArcGIS Pro
Determining your ArcGIS Pro license level
Opening an existing ArcGIS Pro project
Opening and navigating a map
Adding and configuring layers
Creating a project
ArcGIS Pro represents a huge step forward in Desktop GIS. This new 64-bit solution allows GIS Professionals to take full advantage of modern computer hardware, which brings increased performance and capability that has not been available for the desktop. It also has a brand new modern ribbon interface. This is completely different from the toolbar-based interface we have become accustomed to in ArcMap or ArcCatalog. While more intuitive for completely new users, it can be a bit challenging for existing ArcGIS Desktop users.
In this chapter, you will begin exploring ArcGIS Pro. You will first determine whether your computer has the capability to run this powerful software. Then you will determine which license levels are available to you. This is important as it will impact your ability to complete some of the recipes in this book.
You will then move on to working in ArcGIS Pro. You will start by learning how to open an existing ArcGIS Pro project. Then you will open and navigate a map. From there, you will learn methods for adding new layers and configuring some of their properties.
Finally, you will learn how to create a new project from the beginning. This will include adding new maps, and importing ArcMap map documents.
Unlike the 32-bit ArcMap and ArcCatalog applications, ArcGIS Pro supports hyperthreading (use of multiple core processors), graphics processing units, and more than 4 GB of RAM. This also means ArcGIS Pro requires more computer resources to run properly.
The minimum requirements for ArcGIS Pro 2.1 are:
Windows 64-bit OS:
Windows 7, 8.1, or 10
Windows Server 2008 R2, 2012, 2012 R2, or 2016
Hyperthreaded dual core processor
4 GB RAM
32 GB hard drive space
2 GB video memory
Microsoft .NET Framework 4.6.1
Microsoft Internet Explorer 11
DirectX 11
OpenGL 3.3
Shader Model 4.1
Pixel Shader 4.0
Vertex Shader 4.0
Keep in mind that these are the minimum requirements. The more hardware the better where ArcGIS Pro is concerned. In general, I would recommend at least 12 GB of RAM, an i5 dual core processor, and a separate video card with its own GPU and memory. For a complete set of recommended hardware specifications, you may want to look at my other book from Packt Publishing, Learning ArcGIS Pro.
In this recipe, you will learn how to use the system requirements tool to verify whether your computer can run ArcGIS Pro. This is a free tool provided by Esri.
To work through this recipe, you will need to make sure you have access to the internet and sufficient permissions to install software on your computer.
Open your favorite web browser, such as Google Chrome, Microsoft Internet Explorer, or Firefox.
Go to
http://pro.arcgis.com
.
Click the
Get Started
, tab as shown in the following screenshot:
Click the link located in
Review the system requirements
.
Click on the
Supported Operating Systems
link located on the right-hand side of the page in the
In this topic
box.
Click
Check your computer’s ability to run ArcGIS Pro 2.1
:
A new tab should open in your browser and take you to the Can You RUN It page powered by System Requirements Lab.
Click the
Can You RUN It
button, as shown here, to download the
Detection.exe
file:
Once the
Detection.exe
file is downloaded, click it to run the file. This executable will check the specifications of your computer and generate a report indicating whether your computer is capable of running ArcGIS Pro.
When the hardware detection application is complete, return to your web browser to see the results. It hopefully will indicate your system passed, similar to the following screenshot:
Notice that you can see whether your system meets the minimum and recommended specifications for running ArcGIS Pro. If your system just meets the minimum specifications, you can expect ArcGIS Pro to run slowly and require the application to be restarted much more frequently.
If your system failed, you will need to upgrade the components or software that the reports indicate are below the required specifications. This might be as simple as updating your drivers or Internet Explorer. It might require you to purchase new hardware if your CPU, RAM, or video card fail to meet the minimum requirements.
If your system meets or exceeds the system requirements, you may download and install ArcGIS Pro. Please refer to the installation instructions located at http://pro.arcgis.com/en/pro-app/get-started/install-and-sign-in-to-arcgis-pro.htm.
ArcGIS Pro has very specific requirements that must be met in order to run effectively. In this recipe, you downloaded and used the tool provided by Esri to verify whether your system met or exceeded those requirements. This tool checks for both hardware and software dependencies needed to successfully run ArcGIS Pro, and provides you with a detailed report so you know without a doubt whether your computer has the horsepower required.
ArcGIS Pro has three different license levels: Basic, Standard, and Advanced. The license level determines the level of functionality available to the user. Basic has the least functionality, Advanced has the most, and Standard is somewhere in between.
In general, Basic allows you to visualize GIS data, produce maps, perform simple data edits, and perform basic GIS data analysis. Standard builds on the capabilities of the Basic level, with more advanced editing and data validation tools. Advanced expands the capabilities of both Basic and Standard by adding more data analysis tools. For a complete list of the capabilities of each license level of ArcGIS Pro, go to http://pro.arcgis.com/en/pro-app/get-started/license-levels.htm.
It important for you to know what license level you are using so you know what capabilities are available to you. Some recipes in this book will require a Standard or Advanced license. In this recipe, you will learn how you can determine your ArcGIS Pro license level.
You will need to make sure that you have successfully installed ArcGIS Pro 2.0 or higher. If you have not installed ArcGIS Pro yet, please refer to http://pro.arcgis.com/en/pro-app/get-started/install-and-sign-in-to-arcgis-pro.htm for installation instructions.
Go to the Windows Start button, which is normally located in the lower-left corner of your screen.
Scroll down to the
ArcGIS
program group and click
ArcGIS Pro
:
Depending on the version of Windows you are running, your Windows Start button and display might be a bit different. You may also need to click All Programs to see the ArcGIS program group. If you right click the ArcGIS Pro icon you can select to add it to your task bar at the bottom of your display. This makes starting ArcGIS Pro faster and easier.
The ArcGIS Pro start window will appear. Click
About ArcGIS Pro
, located in the lower-left corner of the start window.
In the
About ArcGIS Pro
window, select
Licensing
, located in the left side of the window. This will display your ArcGIS Pro licensing information:
At the top of the Licensing window, you will see what license level you have been assigned. As you can see in the image, I have access to the Advanced license level. From here, you can also see which extensions you have access to. Extensions are add-ons for ArcGIS Pro, which provide additional functionality and are normally focused on a specific use, such as 3D analysis or network analysis. Again, in the image, you can see I have access to several extensions:
Question: What license level have you been assigned, Basic, Standard or Advanced?
Answer:
Question: Do you have access to any extensions, and if so which ones?
Answer:
Once you have determined the license level you have access to, you can close ArcGIS Pro if you are not continuing to the next recipe. If you are continuing, keep ArcGIS Pro open.
In this recipe, you learned how to determine which license level of ArcGIS Pro you had access to. You did this by going to the About ArcGIS Pro window from the ArcGIS Pro start window. From there, you accessed your license level information by clicking the Licensing option located on the left side.
The license level is important, as it determines what functionality you have access to within the program. As you will see in this book, some recipes will require you to have access to higher license levels.
The Licensing window allows you to do more than just see what license level and extensions have been assigned to you. It also allows you to determine what type of ArcGIS Pro licensing you want to use, check out a license for use in the field, and more.
ArcGIS Pro supports three basic types of licensing: single user, concurrent user, and named user. Named user is the default and requires you to have a username and password in your organization’s ArcGIS Online or ArcGIS Portal. Single user licenses are the traditional software license, where the software is licensed to a single computer. Concurrent licenses are sometimes referred to as network licenses. These make use of a license manager that is typically installed on a server and controls how many users can be running the software at once. To learn more about the types of licenses supported in ArcGIS Pro, go to http://pro.arcgis.com/en/pro-app/get-started/licensing-arcgis-pro.htm.
ArcGIS Pro makes use of project files that have a .aprx file extension. Projects store 2D maps, 3D scenes, database connections, folder connections, custom toolboxes, and more. When you start ArcGIS Pro, you must open a project.
In this recipe, you will learn how to open an existing project. Later in this chapter, you will learn how to create a new project.
To complete this recipe, you will need to make sure you have downloaded and installed the data associated with this book. If you followed the installation instructions, the data and projects should be located in C:\Student\ArcGISProCookbook. You will also need access to the internet. You will need to have ArcGIS Pro 2.1 or later installed as well. The recipe can be completed with any license level of ArcGIS Pro: Basic, Standard, or Advanced.
If you closed ArcGIS Pro at the end of the last recipe, open ArcGIS Pro. If you still have ArcGIS Pro open, click the back arrow located in the top-left corner of the
About ArcGIS Pro
window.
In the
ArcGIS Pro
start window, click
Open another project
, as shown in the following screenshot:
Click the
Browse
button, which looks like a file folder.
Under
Computer
in the left panel, select
C:\
.
If you do not see anything below Computer in the panel on the left, click the small arrow head. That will expand the contents of the computer, so you should see the C:\ drive.
If you installed the book data to another drive, select the drive containing the book data.
In the panel on the right, scroll down until you see the
Student
folder and double click it.
Double click the
ArcGISProCookbook
folder.
Double click the
Chapter1
folder.
Select the
Chapter 1 Ex 1.aprx
folder and click
OK
.
You have now opened your first ArcGIS Pro project. If it opened successfully, ArcGIS Pro should look similar to this:
Before you can start working in ArcGIS Pro, you must first open a project. To open a project, you must navigate to where it is stored. In this recipe, if you installed the data in the default location, the project was stored on your computer's C:\ drive in a series of folders, so that the full path was C:\Student\ArcGISProCookbook\Chapter1. You were able to access this project by navigating to that location.
Projects can be saved to your local computer or on a network server. It is also possible to save projects to external and flash drives. You may encounter issues if you do save and try to access projects stored on these devices because of slow data transfer rates.
You are not required to close ArcGIS Pro if you want to open another project. ArcGIS Pro doesn't allow you to open a project if you already have a project open. This will close the current project and open the one you select. To do this, follow these steps.
Click the
Open
button located on the Quick Access Toolbar at the top of the ArcGIS Pro interface, as indicated in the following image:
In the
Open Project
window that appears, navigate to
C:\Student\ArcGISProCookbook\Chapter1
using the same method you did to open the current project.
Select the
Chapter 1 Ex 1A.aprx
file and click
OK
.
The project you originally opened should now be closed and a new project should be open, which looks similar to this:
You have now opened two projects in ArcGIS Pro using two different methods. You will find, while using ArcGIS Pro, that there are usually at least two ways to accomplish any tasks. Often there are more.
If you are not continuing to the next recipe, close ArcGIS Pro without saving the project.
Now that you know how to open an existing project, it is time to learn how to open a map stored within the project. Projects can contain 2D maps, 3D scenes, data connections, layouts, styles, toolboxes, and more. However, 2D maps are still the primary canvas that GIS professionals work with.
In this recipe, you will learn how to open existing 2D maps. Once open, you will learn how to navigate within the map.
If you have successfully completed all the previous recipes, you should not need to do anything more to continue with this recipe. If you have not completed the other recipes in this chapter, you will need to do so before starting this one.
Start ArcGIS Pro if you closed it at the end of the last recipe and open the
Chapter 1 Ex 1A
project located in
C:\Student\ArcGISProCookbook\Chapter1
.
If you don’t remember how, you should refer back to the previous recipe or click the project name in the list of recently opened projects.
In the
Catalog
pane located on the right of the ArcGIS Pro interface, expand the
Maps
folder by clicking the small arrowhead to the left of the word
Maps
.
If the Catalog pane is not open, check that it is not set to autohide. If it is, you will see a small tab located on the right side, named Catalog. Simply click the tab to make the Catalog pane open. If you have closed the Catalog pane, click the View tab in the ribbon. Then click the small arrowhead located below Catalog and select Catalog Pane.
Right-click on
Map
and select
Open
, as shown here:
You have just opened an existing project map. A project can contain multiple maps that can be either 2D or 3D. 3D maps are referred to as scenes. Now you will learn how to navigate within the maps.
Click the
Map
tab in the ribbon.
Click the
Explore
tool located on the
Map
tab in the
Navigate
tool group.
The Explore tool is a jack of all trades. It allows you to pan, zoom, and access data about features in your map. For those that have used ArcMap, the Explore tool replaces the identify, zoom in, zoom out, and pan tools.
Move your mouse pointer into the map and roll the scroll wheel on your mouse away from you to zoom into the map. Stop whenever you are zoomed in to a desired scale.
Now roll the scroll wheel back toward you in the opposite direction to zoom out. Stop whenever you are zoomed out to a desired scale.
To return to the full extent of the map, click the
Full Extent
button located in the
Navigate
group on the
Map
tab in the ribbon, as shown here:
Click
Bookmarks
in the
Navigate
group on the
Map
tab in the ribbon.
Select
Washington Park
from the window that appears. This will zoom you to a predefined area in your map that focuses on Washington Park. Your map should now look similar to this:
Now you want to zoom in closer to the block just to the north of Washington Park. Select the
Explore
tool again.
Hold your
Shift
key down and click near the intersection of
Mulberry ST SW
and
Sweetwater ST SW
. Continue holding down the
Shift
key and drag your mouse pointer to the southeast until you reach the intersection of
Alabama St SW
and
Joe Jerkins Blvd SW
. As you are dragging your mouse, you should see a dashed rectangular box appear in the map. This represents the area you want to zoom into. Once you have created a box that looks similar to the following image, release both the
Shift
key and your mouse button:
Ensure the
Explore
tool is still active in the
Map
tab.
In the map, click the northwesternmost parcel in the block you just zoomed into.
Question: What happens when you click on this parcel?
Answer:
If you look closely at the information window that appears, you will notice it shows the information for the City Limits and not the parcel. You need to adjust the settings for the Explore tool.
Close the information window by clicking the small
X
located in the upper right corner.
Click the arrowhead located below the
Explore
tool and select
Visible Layers
.
Click the same parcel once again.
On the bottom left of the information window, look at the number of features which are being identified. It should say 1 of 2.
Click the small arrowhead located next to the number 2. This will display the information for the parcel you clicked in place of the
City Limit
.
Close the information window once you are done.
Try clicking other features in the map and using some of the other options associated with the
Explore
tool to see how they work.
Click the
Full Extent
button to return to the full extents of the map.
Save your project by clicking the
Save Project
button located in the Quick Access toolbar.
In this recipe, you began exploring the contents of a project by opening an existing map that was contained in a project that you opened in the last recipe. Once you opened the map from that Catalog pane, you began to navigate within it using the Explore tool. You used the Explore tool to first zoom in and out within the map. Then, you used the Full Extent button to return to the full extent of the map view. Next, you used a book mark to zoom to Washington Park in the map. From there, you zoomed into an even more specific area, using a combination of the Explore tool and the Shift key along with your mouse.
Once you zoomed into a block of parcels you were interested in, you used the Explore tool to retrieve information about a specific parcel.
Now you know how to start ArcGIS Pro and open a project so you can begin accessing functionality. You have learned how to open an existing map and navigate within the map. You can even see information about features displayed within the map using the Explore tool.
But how did those layers get added to the map? How did ArcGIS Pro know how to display the layers you saw within the map? That is your next step in your ArcGIS Pro journey.
In this recipe, you will learn various methods for adding new layers to a map. You will then discover how to configure various properties associated with a layer, such as its name and symbology.
If you have already completed the previous recipes, you should be ready for this one. If you have not completed them, you will need to do so. This recipe builds on the past ones.
Start ArcGIS Pro and open the
Chapter 1 Ex 1A.aprx
project if you closed ArcGIS Pro at the end of the last recipe.
Open the map named
Map
if it is not already open.
If you are not sure how to open the map, you should refer back to the previous exercise.
As you can see, this is a very simple map. You will want to add some new layers to show additional information.
Click the
Add Data
button. Do not click the words
Add Data
. You want to click the icon located above the words.
In the left window in the
Add Data
dialog box, expand
Project
by clicking the small arrowhead located to the left of
Project
if you do not see the contents in the following image.
Double click
Databases
so you see two databases in the window to the right of the dialog box. You should see the
Chapter 1 Ex 1
and
Trippville_GIS
geodatabases:
Double-click the
Trippville_GIS
geodatabase to reveal its contents.
Double click the
Base
feature dataset.
Select the
Buildings
feature class.
While holding down the
Ctrl
key, click the
Natwtr_Body
and
Natwtr_Stream
feature classes.
Once you have selected those three feature classes, click
OK
to add them as three new layers to your map.
You have just added three new layers to your map using the Add Data button. This is just one of several methods that you can use to add a new layer to a map. You will use some other methods later in this recipe. Now, you will adjust some of the properties associated with the layers you just added.
When you add a new layer to a map in ArcGIS Pro, the software will display the new layer using a random color. Also, it will automatically add the new layers to your map contents based on what type of layer it is. Point layers will be added to the top. Line layers will be added below points. Polygon layers will be added below the line layers. Raster layers are added below the polygons, and base maps are placed at the very bottom. In a map, the drawing order starts with the layers at the bottom of the list and draws each succeeding layer on top of the previous, so that the last layer drawn is the one on the top of the list.
Right-click the
Natwtr_Stream
layer you just added to your map and select
Properties
, located at the bottom of the menu that appears.
Click through the list of options located in the window on the left of the dialog box. Look at some of the properties of the layer that you can configure from this dialog box. You will make some adjustments to these as you work through the recipe.
In the
Layer Properties
dialog box, select
General
from the window on the left side.
In the cell located below
Name
, where it says
Natwtr_Stream
, replace that with
Streams and Creeks
.
Click
Metadata
in the left window.
Type the following values into the metadata as shown in the screenshot:
Title
:
Streams and Creeks
Tags
:
Natural Water, Streams, Creeks
Summary
:
Streams and Creeks located in the City of Trippville
Description
:
This layer shows the general location of most creeks and streams located in and around the City of Trippville.
Credits
:
eGIS Associates, Inc.
Use Limitations
:
This data is for training use only
Your Layer Properties window should now look like the preceding screenshot.
Click
OK
to apply the changes you have just made to the properties of the
Natwtr_Stream
layer.
Repeat this process for the
Natwtr_Body
layer you added using the following values to update its properties. Remember to click
OK
when you're done:
General:
Name
:
Lakes and Ponds
Metadata:
Title
:
Lakes and Ponds
Tags
:
Natural Water, lakes, ponds
Summary
:
Lakes and ponds located in the City of Trippville
Description
:
This layer shows the general location of most lakes and ponds located in and around the City of Trippville.
Credits
:
eGIS Associates, Inc.
Use Limitations
:
This data is for training use only
Now you will move the Streams and Creeks layer so it is beneath the Lakes and Ponds layer.
Select the
Streams and Creeks
layer in the
Contents
pane.
Holding your left mouse button down, drag the layer so it is below the
Lakes and Ponds
layer. Your
Contents
pane should look similar to the following image when you are done. Remember, your colors may be different:
Click the symbol patch located beneath the
Lakes and Ponds
layer so you can adjust the
Symbology
settings.
The
Symbology
pane will open on the right side of the interface. Make sure you are viewing the
Gallery
and type
lake
into the search cell:
Select one of the presented symbols. Any will work.
Click the
Properties
tab located next to
Gallery
in the
Symbology
pane, as illustrated in the following screenshot:
Click the drop-down arrow for the
Outline Color
, select Cretan Blue from the color palette that is presented.
Set the
Outline Width
to
1 pt
, as shown here:
Click
Apply
, located at the bottom of the
Symbology
pane.
Following that same process, click the symbol patch for the
Streams and Creeks
layer.
Search
Stream
in the
Gallery
and select the
Water (Line)
symbol that should be presented.
Your map should now look like this. The color of the Buildings layer may be different, depending on what ArcGIS Pro assigned it when you added the layer:
Now you will change the symbology for the buildings so that you can determine the type. Select the
Buildings
layer in the
Contents
pane.
Select the
Appearance
tab in the
Feature Layer
contextual
menu in the ribbon.
Click the small arrowhead located below the
Symbology
button.
Select
Unique Values
from the presented menu.
The
Symbology
pane will open once again, though it will look a bit different. Next to
Field 1
, click the drop-down menu and select
Building Type
.
Click the
Color
scheme and select a desired color scheme, such as
Basic Random
. Notice the symbology for the
Buildings
layer has changed in the
Contents
pane to reflect your new symbology settings.
Close the
Symbology
pane.
Right-click the
Buildings
layer in the
Contents
pane and select
Zoom
to Layer
. You can now see the type for each building, as shown in the following screenshot. Your buildings may be displayed with different colors depending on the color scheme you selected:
Save your project by clicking the
Project
tab in the ribbon and selecting
Save
.
It is recommended that you save your projects often. This will help to prevent you from losing work if ArcGIS Pro or your system experiences a problem.
In the
Catalog
pane, expand the
Databases
folder by clicking the small arrowhead located to the left.
Expand the contents of the
Trippville_GIS
geodatabase.
Right-click the
Power_Poles
feature class and select
Add to Current Map
:
The
Power Poles
layer has been added to you map. Right-click the symbol under the layer name to display a color palette.
Select Mars Red from the color palette to change the color of the symbol for the
Power Poles
layer. Your map should now look similar to this one:
Click the
Share
tab in the ribbon.
Select
Map
File
from the
Save As
group in the
Share
tab.
Select
C:\
in the left side of the
Save Map AS MAPX File
window.
Scroll down if needed and double-click the
Student
folder.
Double-click the
ArcGISProCookbook
folder.
Double-click the
MyProjects
folder.
In the
Name
cell located at the bottom of the
Save Map AS MAPX File
, type
TrippvilleBuildingTypeMap
and click
Save
.
You just created a Map File that will allow you to add this same map to other projects quickly and easily. You will use this file in the next recipe.
Close ArcGIS Pro and save your project if asked to.
In this recipe, you started by adding new layers to a map. You added multiple layers at one time using the Add Data button. Once you added the new layers, you began to adjust their properties so that they would be more useful within the map. First, you renamed the layer using a more descriptive and understandable name than the one originally associated with the feature class in the geodatabase. Then, you updated the metadata for the layer so others using the map would have a better understanding of its purpose.
After you updated some of the basic properties of the layers you added, you worked on the symbology so that the map was easier to read. You made the Streams, Creeks, Lakes, and Ponds layers blue so they resembled the features they represent, also, people are accustomed to seeing them presented this way in a map. You made these adjustments by clicking the symbol patch located beneath each layer and then changing the symbol properties in the Symbology pane.
The Buildings layer required a little more effort, because you needed to change the symbology so that you could tell each building type from within the map. This required you to base the symbology on an attribute of the buildings that was stored in a field found in the attribute table of the Buildings layer. To do this, you went to the Appearance tab and selected the Unique Values symbology. Then, you configured this symbology type to use the Building Type field from the attribute table for the layer. Once you pointed the symbology type to that field, it automatically created a unique symbol for each building type it found. In this case, it created a unique symbol allowing you to determine the type of buildings (for example, houses or apartments).
You added the Power Poles layer from the Catalog pane by right-clicking the feature class within the geodatabase and selecting Add to Current Map. You then adjusted the color of the Power Poles symbol to red by right-clicking the symbol and selecting Mars Red from the presented color palette.
Finally, you created a Map File based on the map you made, so you will be able add the map to other projects quickly and easily. The map will be added with all the layer properties and settings that you just configured, so you will not need to go through that process again.
We have mentioned several times that you must first open a project before you are able to access the functionality included in ArcGIS Pro. You have begun to experience this in the previous recipes where you opened and worked with existing projects. These were already configured, and contained several project items including maps and database connections. How were these projects created?
In this recipe, you will create a new project using one of the four project templates included with ArcGIS Pro. You will see the structure created by ArcGIS Pro when a new project is created.
To complete this recipe, all you need to do is ensure that you have ArcGIS Pro installed, access to a license, and the data for the book downloaded and installed. This recipe does not even require you to have completed the previous recipes, though it might help provide a better understanding of what you are doing.
Start ArcGIS Pro.
When the
ArcGIS Pro
start window appears, select the
Blank
template from
Create a new project
on the right side:
In the
Name
cell, name your new project
%your name%Chapter1NewProject
(for example
TrippChapter1Newproject
).
Click the
Browse
button located next to the
Location
cell. It looks like a small file folder with a blue arrow.
Under
Computer
, click the
C:\
drive.
Scroll down and double-click the
Student
folder.
Double-click the
ArcGISProCookbook
folder.
Select the
MyProjects
folder and click
OK
. Do not double-click it.
Verify that your
Create a New Project
dialog window looks like this, except for the name which will include your name:
Once you have verified that you have entered everything properly, click
OK
.
You have just created your first new project in ArcGIS Pro using the Blank template. This created a new bare bones project. This project contains the minimum number of items you will find in a project. You can now begin to explore your new project.
Expand the
Toolboxes
folder in the
Catalog
pane.
Question: What do you see in this folder?
Answer:
Expand the
Databases
folder in the
Catalog
pane.
Question: What do you see in this folder?
Answer:
Expand the other folders within the project.
Question: What do you notice is missing from your new project?
Answer:
You should have noticed that your new project contains a single custom toolbox and file geodatabase that has the same name as your project. These were automatically created by ArcGIS Pro when you created the new project. You should have also noticed that several styles and locators were also automatically connected by default.
There are three basic types of geodatabase: personal, file, and SDE. ArcGIS Pro only supports file and SDE geodatabases. It does not support the personal geodatabase. To learn more about geodatabases, go to http://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/what-is-a-geodatabase-.htm.
This new project is missing several key elements that you will need to perform any GIS work. First, it is missing a map. Second, if you expand the geodatabase that is connected to the project, you will notice it is empty. So, you also need data. Now you will connect to an existing geodatabase and then add a map.
Right-click the
Databases
folder in the
Catalog
pane and select
Add Database
:
Click
C:\
under
Computer
in the area located on the left of the
Select Existing Geodatabase
window that appears.
Scroll down and double-click the
Student
folder.
Then double-click
ArcGISProCookbook
and
Databases
.
Select the
Trippville_GIS.gdb
and click
OK
. Do not double-click the
Trippville_GIS
geodatabase.
Right click the
Trippville_GIS.gdb
you just added to your project and select
Add to New Projects
, as shown in the following image:
You just added a connection to the Trippville GIS geodatabase you have been using in the other recipes. In those, the database connection had already been established. Now you know how it was done. Once you added the connection, you then added it to your favorites and set it so it will automatically be added to any new projects you create.
You still need to add a map. You could do this the same way you did in the previous recipe. However, in this one you will import the Map File you created in the last recipe.
Click the
Insert
tab in the ribbon:
Click the
Import Map
tool in the
Project
group on the
Insert
tab in the ribbon: