SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Least Cost Paths

This tool 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 tool outputs a point and a line shapefile for each least cost path.
The tool 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 Cost SurfaceGrid (input)DEM--
Values (*)Grid list (optional input)VALUESAllows writing cell values from additional grids to the output-
OutputProfile PointsShapes list (output)POINTSLeast cost path profile points-
Profile LinesShapes list (output)LINELeast cost path profile lines-
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
(*) 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 Surface
	Grid (input)
  -VALUES:<str>	Values
	Grid list (optional input)
  -POINTS:<str>	Profile Points
	Shapes list (output)
  -LINE:<str>  	Profile Lines
	Shapes list (output)