SAGA-GIS Tool Library Documentation (v7.7.0)

Tool Accumulated Cost

Calculation of accumulated cost, either isotropic or anisotropic, if direction of maximum cost is specified.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputDestinationsShapes, inputDEST_POINTS--
DestinationsGrid, inputDEST_GRID--
Local CostGrid, inputCOST--
Direction of Maximum Cost (*)Grid, input, optionalDIR_MAXCOST--
OutputAccumulated CostGrid, outputACCUMULATED--
AllocationGrid, outputALLOCATION--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Input Type of DestinationsChoiceDEST_TYPE-Available Choices:
[0] Point
[1] Grid
Default: 0
Units of DirectionChoiceDIR_UNIT-Available Choices:
[0] radians
[1] degree
Default: 0
K FactorFloating pointDIR_Keffective friction = stated friction ^f , where f = cos(DifAngle)^k.Default: 2.000000
Threshold for different routeFloating pointTHRESHOLD-Minimum: 0.000000
Default: 0.000000
(*) optional

Command-line

Usage: saga_cmd grid_analysis 0 [-DEST_TYPE <str>] [-DEST_POINTS <str>] [-DEST_GRID <str>] [-COST <str>] [-DIR_MAXCOST <str>] [-DIR_UNIT <str>] [-DIR_K <double>] [-ACCUMULATED <str>] [-ALLOCATION <str>] [-THRESHOLD <double>]
  -DEST_TYPE:<str>   	Input Type of Destinations
	Choice
	Available Choices:
	[0] Point
	[1] Grid
	Default: 0
  -DEST_POINTS:<str> 	Destinations
	Shapes, input
  -DEST_GRID:<str>   	Destinations
	Grid, input
  -COST:<str>        	Local Cost
	Grid, input
  -DIR_MAXCOST:<str> 	Direction of Maximum Cost
	Grid, input, optional
  -DIR_UNIT:<str>    	Units of Direction
	Choice
	Available Choices:
	[0] radians
	[1] degree
	Default: 0
  -DIR_K:<double>    	K Factor
	Floating point
	Default: 2.000000
  -ACCUMULATED:<str> 	Accumulated Cost
	Grid, output
  -ALLOCATION:<str>  	Allocation
	Grid, output
  -THRESHOLD:<double>	Threshold for different route
	Floating point
	Minimum: 0.000000
	Default: 0.000000