SAGA-GIS Tool Library Documentation (v7.7.0)

Tool Gradient Vectors from Direction and Length

Create lines indicating the gradient.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputDirectionGrid, inputDIR--
LengthGrid, inputLEN--
OutputGradient VectorsShapes, outputVECTORS--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
StepIntegerSTEP-Minimum: 1
Default: 1
Size RangeValue rangeSIZEsize range as percentage of step-
AggregationChoiceAGGRhow to request values if step size is more than one cellAvailable Choices:
[0] nearest neighbour
[1] mean value
Default: 1
StyleChoiceSTYLE-Available Choices:
[0] simple line
[1] arrow
[2] arrow (centered to cell)
Default: 2

Command-line

Usage: saga_cmd shapes_grid 16 [-DIR <str>] [-LEN <str>] [-VECTORS <str>] [-STEP <num>] [-SIZE_MIN <double>] [-SIZE_MAX <double>] [-AGGR <str>] [-STYLE <str>]
  -DIR:<str>        	Direction
	Grid, input
  -LEN:<str>        	Length
	Grid, input
  -VECTORS:<str>    	Gradient Vectors
	Shapes, output
  -STEP:<num>       	Step
	Integer
	Minimum: 1
	Default: 1
  -SIZE_MIN:<double>	Size Range
	Value range
  -SIZE_MAX:<double>	Size Range
	Value range
  -AGGR:<str>       	Aggregation
	Choice
	Available Choices:
	[0] nearest neighbour
	[1] mean value
	Default: 1
  -STYLE:<str>      	Style
	Choice
	Available Choices:
	[0] simple line
	[1] arrow
	[2] arrow (centered to cell)
	Default: 2