SAGA-GIS Module Library Documentation (v2.3.0)

Module Accumulated Cost

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

Parameters

 NameTypeIdentifierDescriptionConstraints
InputDestinationsShapes (input)DEST_POINTS--
DestinationsGrid (input)DEST_GRID--
Local CostGrid (input)COST--
Direction of Maximum Cost (*)Grid (optional input)DIR_MAXCOST--
OutputAccumulated CostGrid (output)ACCUMULATED--
AllocationGrid (output)ALLOCATION--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEMGrid 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 (optional input)
  -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