SAGA-GIS Tool Library Documentation (v9.1.2)

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 pointCOST_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 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>] [-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
	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
	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