SAGA-GIS Tool Library Documentation (v7.8.2)

Tool Add Grid Values to Shapes

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--
OutputResult (*)Shapes, output, optionalRESULT--
OptionsResamplingChoiceRESAMPLING-Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 3
(*) optional

Command-line

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