SAGA-GIS Tool Library Documentation (v9.2.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--
DestinationschoiceDEST_TYPE-Available Choices:
[0] Points
[1] Grid
Default: 0
Minimum CostbooleanCOST_BMINZero cost works like a barrier. Use this option to define a minimum cost applied everywhere where the supplied local cost falls below this value.Default: 1
Thresholdfloating point numberCOST_MINZero cost works like a barrier. Use this option to define a minimum cost applied everywhere where the supplied local cost falls below this value.Minimum: 0.000000
Default: 0.010000
Units of DirectionchoiceDIR_UNIT-Available Choices:
[0] radians
[1] degree
Default: 0
K Factorfloating point numberDIR_Keffective friction = stated friction^f , where f = cos(DifAngle)^k.Default: 2.000000
Threshold for different routefloating point numberTHRESHOLD-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>] [-COST_BMIN <str>] [-COST_MIN <double>] [-DIR_MAXCOST <str>] [-DIR_UNIT <str>] [-DIR_K <double>] [-ACCUMULATED <str>] [-ALLOCATION <str>] [-THRESHOLD <double>]
  -DEST_TYPE:<str>   	Destinations
	choice
	Available Choices:
	[0] Points
	[1] Grid
	Default: 0
  -DEST_POINTS:<str> 	Destinations
	shapes, input
  -DEST_GRID:<str>   	Destinations
	grid, input
  -COST:<str>        	Local Cost
	grid, input
  -COST_BMIN:<str>   	Minimum Cost
	boolean
	Default: 1
  -COST_MIN:<double> 	Threshold
	floating point number
	Minimum: 0.000000
	Default: 0.010000
  -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 number
	Default: 2.000000
  -ACCUMULATED:<str> 	Accumulated Cost
	grid, output
  -ALLOCATION:<str>  	Allocation
	grid, output
  -THRESHOLD:<double>	Threshold for different route
	floating point number
	Minimum: 0.000000
	Default: 0.000000