You are on page 1of 11

Claytons Copper Butterfly Habitat Connectivity Model

Written by Shannon Chapin

Our goal is to figure out the functional connectivity between two populations of the state endangered Claytons Copper butterfly. Since there are no butterfly freeways, we will use a least-cost analysis in ArcGIS to identify the path of least resistance, based on landscape permeability, for the butterfly to travel. Least cost analysis identifies the least costly route that an animal can take from one area to another Cost is usually represented in the inverse of habitat suitability: Suitable habitat = low cost Unsuitable habitat = high cost

Figure from Rudnick et al. 2012 - The Role of Landscape Connectivity in Planning and Implementing Conservation and Restoration Practices.

A little bit about the Claytons Copper (CC) state endangered found only in Maine and just over the border in New Brunswick known to occur in only 11 sites worldwide found only in association with sole larval host plant, the shrubby cinquefoil could travel via wetlands and riverbanks to get to other patches of shrubby cinquefoil

Datasets provided Shapefiles: one of the CC population locations = Mo_crystal another of the CC population locations = Mo_dwinal

Rasters: reclassified digitized known Shrubby Cinquefoil patches = mo_sc reclassified National Wetlands Inventory (clipped to Maine) = mo_nwi reclassified USGS Hydrography dataset (clipped to Maine) = mo_hyd

Methods 1. Open ArcMap and open the ArcCatalog tab. Create a new folder wherever you normally work to store your datasets, model and MXD. Right click -> New -> Folder 2. Download/save the 5 spatial datasets to the folder you just created 3. First, lets make sure Spatial Analyst is enabled. Customize -> Extensions -> Click the box next to Spatial Analyst 4. Create a new toolbox and new model in your folder using ArcCatalog. Right click on the folder -> New -> Toolbox Right click on the toolbox -> New -> Model

5. Your model should pop up, but if not Right click on the model -> Edit 6. Lets give the model a label, name and description. Model -> Model Properties -> General Name: ClaytonsCopperModel Label: Claytons Copper Butterfly Model Description: This model explores the functional connectivity between two sites that the state endangered Clayton's copper butterfly exists in Maine.

7. While were here, lets set our workspace. Model -> Model Properties -> Environments Scroll down and click on the box beside Workspace. Click Values. Set your current and scratch workspaces to the folder you saved your model to.

8. Lets also set up some Raster Properties. Since rasters are cell based, we want to make sure that our cells line up, that they all have the same cell size and that they cover the same extent. So Model -> Model Properties -> Environments This time, click on the boxes beside Processing Extent and Raster Analysis. Click Values. Set your Extent to Same as variable mo_sc. Navigate to your folder and select mo_sc as your Snap Raster. This lines every other raster up to the cells in mo_sc. Also, specify your Cell Size to 30 (meters).

Click OK twice to get out of Model Properties. Click the Save icon, and minimize your model window. 9. Add the five spatial datasets to the map. The Mo_dwinal and Mo_crystal are shapefiles of the boundaries of the sites (Right click on the layer and Zoom To Layer so you can see them) Youll notice that the other three datasets have been reclassified into two different categories: mo_sc = 0 or 1; mo_nwi = 0 or 2; mo_hyd = 0 or 2 The 0s in all datasets indicate that that landcover type is not present in that cell. The 1 in mo_sc indicates it is a more preferred (and therefore, has a lower resistance value) habitat type to travel through, and the 2 in both mo_nwi and mo_hyd indicates that they are a less preferred habitat type (therefore, higher resistance, but still permeable). 10. Okaylets build a model! First, with the model open, add the mo_hyd, mo_nwi and mo_sc datasets. You can do this a couple of ways. My preferred method is to just drag and drop them from ArcCatalog or ArcMap Table of Contents into your model window. You can also add them just like you would in ArcMap (via the yellow diamond with the black plus sign). 11. We need to sum the 3 raster datasets to create a single raster to work with. So ArcToolbox -> Spatial Analyst Tools -> Map Algebra -> Raster Calculator Just drag and drop the Raster Calculator tool into your model. 12. Lets populate the tool. Double click on Raster Calculator within your model. Copy this formula OutRas = "%mo_sc%" + "%mo_hyd%" + "%mo_nwi%" in the formula box. Name the new raster cost_raster and save it to your folder.

13. Save your model often! There are two schools of thought when it comes to ModelBuilder. Some people like running the final model at the very end, and others run each tool separately. I think for this exercise you should go with the latter, just to make sure that each step works. It makes it easier to identify and debug any issues that might arise. So, run this tool (right click on tool -> Run). 14. If you remember from my description above, 0s in our three raster datasets indicate that a certain landover type is not present. That is a problem, because ArcGISs least - cost tools treat 0s as the easiest habitat to navigate through. So, we need any 0s in our cost_raster to be coded No Data instead. ArcToolbox -> Spatial Analyst -> Reclass -> Reclassify Populate the tool as shown below. Run it.

15. Add the cost distance tool. This tool will create our resistance surface, based on habitat permeability. ArcToolbox -> Spatial Analyst -> Distance -> Cost Distance Double click on the tool to input the parameters as shown below. You are creating a resistance surface from the site Mo_Crystal. Run it.

16. Now is a good time to use the Auto Layout button (see screenshotthe icon with blue and green squares near the top of the window)

17. And, the Full Extent button (see screenshotwhite icon to the right of the Auto Layout icon).

18. Now we need to calculate the path from mo_crystal to mo_dwinal, based on the cost_dist raster we just created. So, add the Cost Path tool to your model ArcToolbox -> Spatial Analyst Tools -> Cost Path 19. Double click on Cost Path within your model, and input the parameters as shown below.

Have you saved your model lately? Run this tool. 20. Almost done! We want to be able to calculate the distance between the two sites, and the output from the Cost Path tool is a raster. Lets convert it to a line shapefile. Add the Raster to Polyline tool to your model. ArcToolbox -> Conversion Tools -> From Raster -> Raster to Polyline Input the parameters as shown below. Run it.

21. This creates multiple lines, so we need to dissolve them into one. Add the Dissolve tool to your model and input the parameters as shown below. ArcToolbox -> Data Management Tools -> Generalization -> Dissolve

Run it. 22. Lets have Model Builder add a field in the attribute table for us so we can calculate the length of the path. ArcToolbox -> Data Management Tools -> Fields -> Add Field Run it.

23. Were done building the model! I recommend always pressing save before you run your model just in case ArcGIS crashes while its running. Also, you may want to use the Auto Layout and Extent icons to tidy up your model. Now, lets run it! Model -> Run Entire Model 24. Once your model is complete, you can right click on any of the green icons and click Add to Display. ArcGIS calls them derived variables. Lets add the last green icon. This should be the final path, in shapefile format, dissolved into one line.

25. Open the attribute table of dis_crystal_to_dwinal and right click on the field labeled length_mi. Were going to Calculate Geometryspecifically, distance in miles.

Click ok. Wrap - up ArcGIS calculated a functional distance of 47 miles between the two populations. This is based on suitability for movement between different habitat types. What is the difference between this functional distance and the Euclidian distance? (hintmeasure tool).

You might also like