SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Grid Values to Points

This tool saves grid values to point (grid nodes) or polygon (grid cells) shapes. Optionally only points can be saved, which are contained by polygons of the specified shapes layer. In addition, it is possible to exclude all cells that are coded NoData in the first grid of the grid list.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list (input)GRIDS--
Polygons (*)Shapes (optional input)POLYGONS--
OutputShapesShapes (output)SHAPES--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Exclude NoData CellsBooleanNODATA-Default: 1
TypeChoiceTYPE-Available Choices:
[0] nodes
[1] cells
Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_grid 3 [-GRIDS <str>] [-POLYGONS <str>] [-SHAPES <str>] [-NODATA <str>] [-TYPE <str>]
  -GRIDS:<str>   	Grids
	Grid list (input)
  -POLYGONS:<str>	Polygons
	Shapes (optional input)
  -SHAPES:<str>  	Shapes
	Shapes (output)
  -NODATA:<str>  	Exclude NoData Cells
	Boolean
	Default: 1
  -TYPE:<str>    	Type
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0