SAGA-GIS Module Library Documentation (v2.2.2)

Module Least Cost Paths

This module allows one to compute least cost path profile(s). It takes an accumulated cost surface grid and a point shapefile as input. Each point in the shapefile represents a source for which the least cost path is calculated.
In case the point shapefile has more than one source point defined, a separate least cost path is calculated for each point. The module outputs a point and a line shapefile for each least cost path.
The module allows for optional input grids. The cell values of these grids along the least cost path are written to the outputs as additional table fields.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputSource Point(s)Shapes (input)SOURCEPoint shapefile with source point(s)-
Accumulated costGrid (input)DEMAccumulated cost surface-
Values (*)Grid list (optional input)VALUESAllows to write cell values from additional grids to the output-
OutputProfile (points)Shapes list (output)POINTSLeast cost path profile points-
Profile (lines)Shapes list (output)LINELeast cost path profile line-
(*) optional

Command-line

Usage: saga_cmd grid_analysis 5 [-SOURCE <str>] [-DEM <str>] [-VALUES <str>] [-POINTS <str>] [-LINE <str>]
  -SOURCE:<str>	Source Point(s)
	Shapes (input)
  -DEM:<str>   	Accumulated cost
	Grid (input)
  -VALUES:<str>	Values
	Grid list (optional input)
  -POINTS:<str>	Profile (points)
	Shapes list (output)
  -LINE:<str>  	Profile (lines)
	Shapes list (output)