SAGA-GIS Tool Library Documentation (v7.3.0)

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 (input)ELEVATION--
Weights (*)Grid (optional input)WEIGHTS--
OutputFlow Path LengthGrid (output)DISTANCE--
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 (optional input)
  -DISTANCE:<str> 	Flow Path Length
	Grid (output)
  -DIRECTION:<str>	Direction of Measurement
	Choice
	Available Choices:
	[0] downstream
	[1] upstream
	Default: 0