Book Image

ArcGIS for Desktop Cookbook

By : Daniela C Docan
Book Image

ArcGIS for Desktop Cookbook

By: Daniela C Docan

Overview of this book

Table of Contents (18 chapters)
ArcGIS for Desktop Cookbook
About the Author
About the Reviewers


ArcGIS for Desktop is an important component of the Esri ArcGIS platform. ArcGIS for Desktop allows you to visualize, create, analyze, manage, and distribute geographic data.

ArcGIS for Desktop Cookbook starts with the basics of designing a file geodatabase schema. Using your file geodatabase schema, you will learn to create, edit, and constrain the geometry and attribute values of your data. In this book, you will learn to manage Coordinate Reference System (CRS) issues in the geodatabase context.

This book will also cover the following topics: designing and sharing quality maps, geocoding addresses, creating routes and events, analyzing and visualizing raster data in 3D environments, and exporting/importing different data formats.

Knowing and understanding your data is essential in any spatial analysis and geoprocessing process. Therefore, you will work with two main geodatabase structures that fully support all topics covered by this book's chapters.

ArcGIS for Desktop Cookbook will clearly explain all the basic steps performed in every recipe of the book to help you refine your own workflow.

What this book covers

Chapter 1, Designing Geodatabase, teaches you how to create a file geodatabase for a topographic map. It shows you, step by step, how to create feature datasets, feature classes, subtypes, and domains. Furthermore, you will create relationship classes and test the relationship behavior.

Chapter 2, Editing Data, teaches you how to add data to your file geodatabase created in Chapter 1, Designing Geodatabase. In addition to this, you will learn to work with COordinate GeOmetry (COGO) elements, such as bearings, angles, and horizontal distances. You will identify all invalid attribute values for the newly created or loaded features in accordance with the domains created in the first chapter. You will also constrain and administrate the spatial relationships between features with geodatabase topology.

Chapter 3, Working with CRS, explains how to transform a CRS into another CRS using a predefined ArcGIS Project tool. You will also learn how to georeference a scanned topographic map. Furthermore, you will learn to define a custom CRS and a custom transformation.

Chapter 4, Geoprocessing, guides you through the geoprocessing tools for vector data, such as Spatial Join, Spatial Adjustment, Attribute transfer, Buffer, and Intersect. In addition to this, you will learn to work with the Model Builder application. You will build a geoprocessing workflow for a project named VeloGIS. This small project will analyze the possible consequences of creating a cycling infrastructure, taking into account the existing road network.

Chapter 5, Working with Symbology, teaches you how to manage a collection of symbols, colors, and map elements into a style format. The chapter also covers the Representation topic that refers to an advanced technique to symbolize geographic features on a map.

Chapter 6, Building Better Maps, teaches you how to create labels with Maplex Label Engine. The chapter also covers the Annotation topic, which refers to an advanced technique to label the geographic features. In addition to this, you will learn to create a quantitative bivariate map, which analyzes two variables from census data: level of education and unemployment rate for a country/region.

Chapter 7, Exporting Your Maps, teaches you how to design, prepare, and export quality maps. Finally, you will publish your maps on ArcGIS Online.

Chapter 8, Working with Geocoding and Linear Referencing, teaches you how to convert the address information into spatial data and how to manage and use these geocoded addresses. The second part of this chapter will show you how to build routes and events for three different bus lines and a complex route for delivering a customer service.

Chapter 9, Working with Spatial Analyst, teaches you how to work with and analyze raster data. It shows you, step by step, how to create a terrain surface, reclassify a raster, work with Map Algebra and statistical functions, generalize a raster, generate density surfaces, and perform a least-cost path analysis.

Chapter 10, Working with 3D Analyst, teaches you how to create 3D features from 2D features and how to create TIN and Terrain surfaces. You will analyze the visibility between buildings and three geodetic points from the ground, using the ArcScene application. Moreover, you will create an animated fly-by tour of your 3D buildings and Digital Terrain Model (DTM) in ArcScene and will export it to a video file.

Chapter 11, Working with Data Interoperability, teaches you how to manage different data formats. You will export and import a file geodatabase using the XML interchange format. The second part of this chapter will show you how to import vector data into your geodatabase using the ArcGIS Data Interoperability extension.

What you need for this book

To complete the exercises in this book, you will need to have installed ArcGIS 10.x for Desktop (Advanced) and the ArcGIS Data Interoperability for Desktop extension.

Depending on your software version, please download and install the latest patches (bug fixes) or service packs (compilation of bug fixes) from

You need to have access to an Internet connection to publish your map in the Publishing maps on the Internet recipe of Chapter 7, Exporting Your Maps.

Data used in this book is freely available on the Packt Publishing site.

Who this book is for

ArcGIS for Desktop Cookbook is written for GIS users who already have basic knowledge about ArcGIS, but need to increase their productivity using the ArcGIS for Desktop applications and extensions. Even if you don't have previous experience with ArcGIS, this book is useful for you because it will help you to catch up with acquainted users.

Please insert the following here:


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, we use these sections as follows:

Getting ready

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.

How to do it…

This section contains the steps required to follow the recipe.

How it works…

This section usually consists of a detailed explanation of what happened in the previous section.

There's more…

This section consists of additional information about the recipe in order to make the reader more knowledgeable about the recipe.

See also

This section provides helpful links to other useful information for the recipe.


In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "In the next step, you will create a file geodatabase named Topo5k.gdb for a topographic map corresponding to the scale 1:5,000."

A block of code is set as follows:

HYC[int] = HIC[int]
Name[string] = Name[string]
HType[int] = HAT[int]

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Select ArcToolbox from the Standard toolbar. Go to Data Management Tools | Workspace, and double-click on the Create File GDB tool."


Warnings or important notes appear in a box like this.


Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you really get the most out of.

To send us general feedback, simply e-mail , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files from your account at for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from:


Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title.

To view the previously submitted errata, go to and enter the name of the book in the search field. The required information will appear under the Errata section.


Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.


If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.