SAGA 9.6.1 | Tool Library Documentation

Add Grid Values to Shapes


Description

Spatial Join: Retrieves information from the selected grids at the positions of the shapes of the selected shapes layer and adds it to the resulting shapes layer. For points this is similar to 'Add Grid Values to Points' tool. For lines and polygons average values will be calculated from interfering grid cells. For polygons the 'Grid Statistics for Polygons' tool offers more advanced options.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputSHAPES--
Gridsgrid list, inputGRIDS--
OutputResultshapes, output, optionalRESULT--
OptionsResamplingchoiceRESAMPLING-Available Choices: [0] Nearest Neighbour [1] Bilinear Interpolation [2] Bicubic Spline Interpolation [3] B-Spline Interpolation Default: 3

Command Line


Usage: saga_cmd shapes_grid 1 [-SHAPES ] [-GRIDS ] [-RESULT ] [-RESAMPLING ]
  -SHAPES:    	Shapes
	shapes, input
  -GRIDS:     	Grids
	grid list, input
  -RESULT:    	Result
	shapes, output, optional
  -RESAMPLING:	Resampling
	choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3