SAGA-GIS Tool Library Documentation (v8.4.1)

Tool Maximum Flow Path Length

This tool calculates the maximum upstream or downstream distance or weighted distance along the flow path for each cell based on 'Deterministic 8 (D8)' (O'Callaghan and Mark 1984) flow directions.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputElevationGrid, inputELEVATION--
Weights (*)Grid, input, optionalWEIGHTS--
OutputFlow Path LengthGrid, outputDISTANCE--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Direction of MeasurementChoiceDIRECTION-Available Choices:
[0] downstream
[1] upstream
Default: 0
(*) optional

Command-line

Usage: saga_cmd ta_hydrology 27 [-ELEVATION <str>] [-WEIGHTS <str>] [-DISTANCE <str>] [-DIRECTION <str>]
  -ELEVATION:<str>	Elevation
	Grid, input
  -WEIGHTS:<str>  	Weights
	Grid, input, optional
  -DISTANCE:<str> 	Flow Path Length
	Grid, output
  -DIRECTION:<str>	Direction of Measurement
	Choice
	Available Choices:
	[0] downstream
	[1] upstream
	Default: 0