SAGA-GIS Tool Library Documentation (v7.8.2)

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, inputSOURCEPoint shapefile with source point(s)-
Accumulated Cost SurfaceGrid, inputDEM--
Values (*)Grid list, input, optionalVALUESAllows writing cell values from additional grids to the output-
OutputProfile PointsShapes list, outputPOINTSLeast cost path profile points-
Profile LinesShapes list, outputLINELeast 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, input, optional
  -POINTS:<str>	Profile Points
	Shapes list, output
  -LINE:<str>  	Profile Lines
	Shapes list, output