Showing posts with label least-cost path. Show all posts
Showing posts with label least-cost path. Show all posts

Friday, December 10, 2021

Changes to Multiple Shortest Paths tool

The tool has been updated to include a cell size parameter and an extent parameter. These were added in order to make it such that the model could be run repeatedly on different inputs. I was running into issues with ModelBuilder not re-running the Create Random Rasters tool unless those parameters were changed each time. I've also added a tool called Collect Path Costs that takes each shortest path line, rasterizes it, and then sums the total cost of that line. This new tool can be run after-the-fact on the lines.  You can access the updated version by clicking HERE.


Wednesday, December 5, 2018

Miscellaneous Hydrology Tools for ArcGIS - Find Longest Stream Path

Here is part four of the blog post on the Miscellaneous Hydrology Tools for ArcGIS. This post covers a tool called the Find Longest Stream Path tool. You can read the original blog post by clicking HERE or download the tool be clicking HERE. It is the fourth and final in this series about the Miscellaneous Hydrology Tools.

Surprisingly, there are no conventional tools in ArcMap that identify the longest stream in a watershed. However, many geomorphic metrics, such as relief ratio and watershed shape, are based on knowing what the longest stream is. In order rectify this situation I built a small model that calculates the longest stream. Unlike the other two tools in the Miscellaneous Hydrology Toolbox it does not provide an absolute answer.  For reasons unknown to me occasionally some watersheds get left out.  Nonetheless I feel that this tool is a useful and helpful addition that some people will enjoy having in their toolbox.

On the left is a sample of watersheds from central Nevada with the longest stream from each watershed shown in bold blue.  All streams are shown in light blue.  Watershed boundaries are in black. Pour points (those places where the stream exits the basin) are shown in green. Channel heads for the longest stream are shown in yellow.

There are four parameters for running this tool.  A input flow stream flow direction tool is required for understanding flow routing.  A standard flow direction raster can be clipped to the stream network to achieve this.  Input watershed polygons are required.  A temporary folder is required for storing outputs.  Finally, a dissolve field (ID for example) is required.  This should coincide with a field with the same name in the watersheds file.

On the right is a picture of the model.  Let me step you through how it works. For each stream flow direction cell the model calculates an upstream and downstream flow length. Using those flow lengths the model generates channel heads and pour points in each watershed. Using cost distance the model identifies the channel head with the greatest cost distance from the pour point. This becomes the end point. The combination of the end point and the pour point is used to create a least-cost path. Finally, grid cells are converted into flow lines.


Thursday, November 5, 2015

Paper accepted in Ecological Applications

My paper entitled "Multi-scale connectivity and graph theory highlight critical areas for conservation under climate change" has been accepted in Ecological Applications pending a few minor revisions!  The general idea of this paper is to combine measures of habitat connectivity at the rangewide-scale, metapopulation scale, and local scale to inform conservation decisions. We use a combination of graph theory, Circuitscape, and least-cost paths to analyze the effect of different renewable energy development scenarios and climate change scenarios on habitat connectivity of the Mohave ground squirrel.  This paper follows from our earlier effort to map habitat suitability for Mohave ground squirrel:


Inman, R. D., Esque, T. C., Nussear, K. E., Leitner, P., Matocq, M. D., Weisberg, P. J., ... & Vandergast, A. G. (2013). Is there room for all of us? Renewable energy and Xerospermophilus mohavensis. Endangered Species Research, 20(1), 1-18.
as well as our earlier report to the California Energy Commission that included an analysis of climate change effects on habitat availability, landscape genetics, and a more limited analysis of renewable energy development scenarios titled "Habitat Modeling, Landscape Genetics, and Habitat Connectivity for the Mohave Ground Squirrel to Guide Renewable Energy Development" downloadable HERE .

In addition to demonstrating a multi-scale approach for assessing habitat connectivity and informing conservation decisions, the paper also presents a novel methodological contribution to make graph theory operational for species with continuously-distributed habitat.
Illustration by M. A. Walden