SAGA-GIS Module Library Documentation (v2.1.3)

Module Gradient Vectors from Direction and Length

Create lines indicating the gradient.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputDirectionGrid (input)DIR--
LengthGrid (input)LEN--
OutputGradient VectorsShapes (output)VECTORS--
OptionsStepIntegerSTEP-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 <str>] [-SIZE_MAX <str>] [-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:<str>	Size Range
	Value range
  -SIZE_MAX:<str>	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