SAGA-GIS Tool Library Documentation (v8.4.1)

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, inputINPUT--
GridGrid, inputGRID--
OutputResult (*)Shapes, output, optionalOUTPUT--
Moves (*)Shapes, output, optionalMOVES--
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, output, optional
  -MOVES:<str>      	Moves
	Shapes, output, optional
  -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