SAGA-GIS Module Library Documentation (v2.2.2)

Module Grid Values to Points

This module 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--
OptionsExclude 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