Book Image

ArcGIS By Example

By : Hussein Nasser
Book Image

ArcGIS By Example

By: Hussein Nasser

Overview of this book

Table of Contents (17 chapters)
ArcGIS By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preparing the data and project


Before we dive into the coding part, we need to do some preparation for our new project and our data.

Preparing the Yharnam geodatabase and map

The YharnamCo team has provided us with the geodatabase and map document, so we will simply copy the necessary files to your drive. Follow these steps to start your preparation of the data and map:

  1. Copy the entire yharnam folder in the supporting files for this chapter B04847_08_Files\yharnam\ to C:\ArcGISByExample\.

  2. Run yharnam.mxd under C:\ArcGISByExample\yharnam\Data\yharnam.mxd. This should point to the geodatabase, which is located under C:\ArcGISByExample\yharnam\Data\yharnam.gdb, as illustrated in the following screenshot:

  3. Note there are three types of trees: Type1, Type2, and Type3. Also note there are two types of soil: rocky and sand. This will be crucial in the next chapter in which we will calculate the cost of removing a tree.

  4. Close ArcMap and choose not to save any changes.

Preparing the Yharnam project

We will...