Beruflich Dokumente
Kultur Dokumente
ArcMap 10
Note: In the following instructions you will be asked to browse the directory location of your Wetland Mapping training folder. That location is
represented by a drive letter of x: Please note that the screen shots used in the examples were created utilizing data that was located on
C:\temp (i.e. the value of x: was C:\temp). Be sure to use the actual drive letter assigned by the computer to your flash drive and be aware that
your screens will reflect that letter and not C:\temp as in the samples. Check with your instructor for more details if you have questions.
Open ArcMap 10
First lets make sure that your default workspaces are available to you for all of these exercises.
If this step is not done, you may get errors later on because ArcGIS cannot access workspaces
properly. In the Arc Map 10 main menu bar, click on the Geoprocessing menu and in drop
down, click on the Environments button:
Click on Workspace:
Verify that the Current Workspace is your class OutputData folder and that the Scratch
Workspace is set to the ScratchArea folder in your Wetland training folder. Your screen should
look like:
July 2012
Page 1 of 14
July 2012
Page 2 of 14
Verify that the Overwrite outputs entry is checked and click OK on the Options window and
youre set to go for the rest of the session.
From the main menu bar, click on the File menu and click on Open
In the Open window, browse to x:\WetlandMapping\Exercise1.mxd (where "x" is the
letter of your usb drive) and click on that icon to open the ArcMap document for this exercise.
Your screen should look something like:
July 2012
Page 3 of 14
You should see a false color infrared image of the Chanhassen study area. Notice in the ArcMap
Table of Contents that Band 4 (NIR) is assigned to the Red color, Band 3 (Red) is assigned to the
Green display color and Band 2 (Green) is assigned to the Blue display color.
In order to create an NDVI layer, we must load the Red (Layer 3) and Near InfraRed (Layer 4)
image layers separately into the ArcMap Table of Contents. We will start with the NIR Layer 4:
Click on the Add Data icon in the ArcMap standard tool bar
July 2012
Page 4 of 14
While holding the Ctrl key, single click both on Band_4 and on Band_3
July 2012
Page 5 of 14
Take some time to explore the data. If you unclick all of the layers in the Table of Contents
except Band_4, you will be seeing a black and white representation of the intensity of the
image in Near InfraRed. Notice how the lakes and waters are essentially black in NIR while they
show shades of gray in the Red (3) layer. We can now use these two new layers to do some
image algebra to create our NDVI layer.
We will use a tool in the Spatial Analyst Tool Box to create our NDVI layer. If
the ArcToolbox window is not visible, click on Geoprocessing in the main
menu and click on ArcToolbox to open it as shown on the left.
July 2012
Page 6 of 14
In the Output Raster window, browse to your Wetland Mapping\ScratchArea folder and enter
July 2012
Page 7 of 14
Were now ready to build the raster calculator equation that will create our NDVI layer. You
have two options to build the equation. Cut and paste or build it step by step. Choose either
way below.
Copy and paste the following expression into the Map Algebra expression box:
Float("NAIP08.img - Band_4" - "NAIP08.img - Band_3") / Float("NAIP08.img - Band_4" + "NAIP08.img - Band_3")
Or, if you'd like to experiment, you can build your own expression step by step:
Both techniques of entering the expression should give you a screen that looks like:
July 2012
Page 8 of 14
Click OK. The tool should run for a few minutes (and may show a status bar of 100% for many
of those minutes- it is ArcGIS after all!) Depending on the site location you may or may not get
the following window. If you do, click Close upon completion.
If the tool runs for a few seconds and says there was an error (but its not
specified), it could be because you dont have write access to the work areas on
the computer. Rerun the tool and click on the Environment button on the
bottom of the tool dialog box. Under General Settings, specify both a Current
Workspace and Scratch Workspace that is in your C:\Temp directory
July 2012
Page 9 of 14
After completion of the process, Arc Map will load your new layer to your map
July 2012
Page 10 of 14
(higher NDVI) and a value of 0 where we would not. Our research indicated that an NDVI value
of 0.0181 resulted in a reasonable threshold. In the next step, we will use ArcGIS to recode the
raster as 0 anywhere the NDVI <= 0.0181
Open the Spatial Analysts tool box and inside the Reclass tool set, double click on the
Reclassify tool:
Either open the Browse icon for the input raster and browse to your NDVI raster created above or
simply drag the NDVI raster layer from the ArcMap Table of Contents and drop it into the Input raster
entry in the Reclassify tool above. Your screen should look like:
July 2012
Page 11 of 14
Select all of the table entries except the first and the last two by clicking in the first column of
the table on line 2 and dragging down to the bottom (the red arrow above shows you where to
click to select a row):
July 2012
Page 12 of 14
Change the ranges in the old values and the new values in the table so they look like and enter
an output file name of NDVI_R in your output folder (see figure below) but dont click OK yet:
Please make sure to check the box next to Change missing values to NoData:
Also, we want to make the output cell size be 3 meters to match our other data later, so
click on the Environments Tab at the bottom of the window and scroll down to the Raster
Analysis section. Change cell size to be As Specified Below and enter 3 into the box:
July 2012
Page 13 of 14
The following message may or may not appear. If it does, click Close and the new layer should
display (your colors will be randomly set by ArcMap).
July 2012
Page 14 of 14