SAGA 9.4.2 | Tool Library Documentation

Accumulated Cost


Description

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 Costgrid, 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

Command Line


Usage: saga_cmd grid_analysis 0 [-DEST_TYPE ] [-DEST_POINTS ] [-DEST_GRID ] [-COST ] [-COST_BMIN ] [-COST_MIN ] [-DIR_MAXCOST ] [-DIR_UNIT ] [-DIR_K ] [-ACCUMULATED ] [-ALLOCATION ] [-THRESHOLD ]
  -DEST_TYPE:   	Destinations
	choice
	Available Choices:
	[0] Points
	[1] Grid
	Default: 0
  -DEST_POINTS: 	Destinations
	shapes, input
  -DEST_GRID:   	Destinations
	grid, input
  -COST:        	Local Cost
	grid, input
  -COST_BMIN:   	Minimum Cost
	boolean
	Default: 1
  -COST_MIN: 	Threshold
	floating point number
	Minimum: 0.000000
	Default: 0.010000
  -DIR_MAXCOST: 	Direction of Maximum Cost
	grid, input, optional
  -DIR_UNIT:    	Units of Direction
	choice
	Available Choices:
	[0] radians
	[1] degree
	Default: 0
  -DIR_K:    	K Factor
	floating point number
	Default: 2.000000
  -ACCUMULATED: 	Accumulated Cost
	grid, output
  -ALLOCATION:  	Allocation
	grid, output
  -THRESHOLD:	Threshold for different route
	floating point number
	Minimum: 0.000000
	Default: 0.000000