Before we dive into the coding part, we need to do some preparation for our new project and our data.
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:
Copy the entire
yharnam
folder in the supporting files for this chapterB04847_08_Files\yharnam\
toC:\ArcGISByExample\
.Run
yharnam.mxd
underC:\ArcGISByExample\yharnam\Data\yharnam.mxd
. This should point to the geodatabase, which is located underC:\ArcGISByExample\yharnam\Data\yharnam.gdb
, as illustrated in the following screenshot:Note there are three types of trees:
Type1
,Type2
, andType3
. Also note there are two types of soil:rocky
andsand
. This will be crucial in the next chapter in which we will calculate the cost of removing a tree.Close ArcMap and choose not to save any changes.