SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Snap Points to Grid

Moves all points to grid cell positions that have the highest orlowest value respectively within the given search distance around each point.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes (input)INPUT--
GridGrid (input)GRID--
OutputResult (*)Shapes (optional output)OUTPUT--
Moves (*)Shapes (optional output)MOVES--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Search Distance (Map Units)Floating pointDISTANCE-Minimum: 0.000000
Default: 0.000000
Search ShapeChoiceSHAPE-Available Choices:
[0] circle
[1] square
Default: 0
ExtremeChoiceEXTREME-Available Choices:
[0] minimum
[1] maximum
Default: 1
(*) optional

Command-line

Usage: saga_cmd shapes_points 20 [-INPUT <str>] [-GRID <str>] [-OUTPUT <str>] [-MOVES <str>] [-DISTANCE <double>] [-SHAPE <str>] [-EXTREME <str>]
  -INPUT:<str>      	Points
	Shapes (input)
  -GRID:<str>       	Grid
	Grid (input)
  -OUTPUT:<str>     	Result
	Shapes (optional output)
  -MOVES:<str>      	Moves
	Shapes (optional output)
  -DISTANCE:<double>	Search Distance (Map Units)
	Floating point
	Minimum: 0.000000
	Default: 0.000000
  -SHAPE:<str>      	Search Shape
	Choice
	Available Choices:
	[0] circle
	[1] square
	Default: 0
  -EXTREME:<str>    	Extreme
	Choice
	Available Choices:
	[0] minimum
	[1] maximum
	Default: 1