Book Image

ArcGIS Pro 2.x Cookbook

By : Tripp Corbin GISP
Book Image

ArcGIS Pro 2.x Cookbook

By: Tripp Corbin GISP

Overview of this book

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.
Table of Contents (21 chapters)
Title Page
Packt Upsell

Creating a project

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.

Getting ready

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.  

How to do it...

  1. Start ArcGIS Pro.
  2. When the ArcGIS Pro start window appears, select the Blank template from Create a new project on the right side:

  1. In the Name cell, name your new project %your name%Chapter1NewProject (for example TrippChapter1Newproject).
  2. Click the Browse button located next to the Location cell. It looks like a small file folder with a blue arrow.
  3. Under Computer, click the C:\ drive.
  4. Scroll down and double-click the Student folder.
  5. Double-click the ArcGISProCookbook folder.
  6. Select the MyProjects folder and click OK. Do not double-click it.
  1. Verify that your Create a New Project dialog window looks like this, except for the name which will include your name:
  1. 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.

  1. Expand the Toolboxes folder in the Catalog pane.


Question: What do you see in this folder?


  1. Expand the Databases folder in the Catalog pane.


Question: What do you see in this folder?


  1. Expand the other folders within the project.


Question: What do you notice is missing from your new project?


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

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.

  1. Right-click the Databasesfolder in the Catalog pane and select Add Database:
  1. Click C:\ under Computer in the area located on the left of the Select Existing Geodatabase window that appears.
  2. Scroll down and double-click the Student folder.
  3. Then double-click ArcGISProCookbook and Databases.
  4. Select the Trippville_GIS.gdb and click OK. Do not double-click the Trippville_GIS geodatabase.
  1. 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.

  1. Click the Insert tab in the ribbon:
  1. Click the Import Map tool in the Project group on the Insert tab in the ribbon:
  1. Using the same process you did to add the database connection, navigate to the C:\Student\ArcGISProCookbook\MyProjects folder.
  2. Select the TrippvilleBuildingTypeMap.mapx file and click OK.


If you did not complete the previous recipe, you can instead navigate to C:\Student\ArcGISProCookbook\Chapter1 and select the Chapter1Ex1AResults.mapx file.  

A familiar-looking map should now be added to your project. It contains all the layers that you created in the last recipe along with the symbology and properties you configured.

  1. Save your project by using the Ctrl+S shortcut keys.

How it works...

In this recipe, you created your first new project. You used the Blank template, which creates a very basic project for ArcGIS Pro. Projects created with the Blank template include connections to a custom toolbox and geodatabase that have the same name as the project, along with several styles and locators. The toolbox and geodatabase are automatically created by ArcGIS Pro when you create the new project. They are both empty and are intended for you to save project-specific items to them. However, in most cases, your organization will already have an established GIS database.

Once you created your project, you added a connection to an existing geodatabase, Trippville_GIS. This database contains the GIS data for the City of Trippville that you used in other recipes. This is actually the primary database that you will use in the remainder of this book. So, you added it to your favorites and set it to automatically be added to all new projects you create.  

After you established a connection to the primary geodatabase, you imported a new map. This new map was based on a Map file you created in a previous recipe. The new map was added with layers already added and their properties configured, saving you a lot of effort.

There's more...

In the last recipe, you created a new project using the Blank template. As you saw, this template automatically created the project structure including a project geodatabase, custom toolbox, and more. The blank template is not the only one included with ArcGIS Pro. There are several others you can use when creating a new project. Let's take a quick look at them. 

ArcGIS Pro stock project templates

As you may have noticed when you created your new project, ArcGIS Pro includes three other project templates: Global Scene, Local Scene, and Map. Each of these will create slightly different projects:



Project items that are created


Creates a new project that automatically includes a new 2D Map

  • Project Toolbox
  • Project File Geodatabase
  • Project Map Geodatabase
  • 2D Map

Local Scene

Creates a new project that automatically includes a new local 3D Map

  • Project Toolbox
  • Project File Geodatabase
  • Project Scene Geodatabase
  • 3D Local Scene

Global Scene

Creates a new project that automatically includes a new global 3D Map, similar to what you experience with Google Earth the first time you open it

  • Project Toolbox
  • Project File Geodatabase
  • Project Scene Geodatabase
  • 3D Global Scene

In addition, connections to standard styles, locators, and any favorites that are set to add to new projects are also added to the items created, based on the selected new project template.

Using the skills that you have learned in the previous recipes, try creating a new project using a template other than Blank. See how they differ from one another.