SAGA-GIS Tool Library Documentation (v9.1.1)

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, inputGRIDS--
Polygons (*)Shapes, input, optionalPOLYGONS--
OutputPointsShapes, outputPOINTS--
PointsShapes, outputCELLS--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Attribute (*)Table fieldATTRIBUTE--
No-Data CellsChoiceNODATA-Available Choices:
[0] include all cells
[1] include cell if at least one grid provides data
[2] exclude cell if at least one grid does not provide data
Default: 0
TypeChoiceTYPE-Available Choices:
[0] nodes
[1] cells
Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_grid 3 [-GRIDS <str>] [-POLYGONS <str>] [-ATTRIBUTE <str>] [-POINTS <str>] [-CELLS <str>] [-NODATA <str>] [-TYPE <str>]
  -GRIDS:<str>    	Grids
	Grid list, input
  -POLYGONS:<str> 	Polygons
	Shapes, input, optional
  -ATTRIBUTE:<str>	Attribute
	Table field
  -POINTS:<str>   	Points
	Shapes, output
  -CELLS:<str>    	Points
	Shapes, output
  -NODATA:<str>   	No-Data Cells
	Choice
	Available Choices:
	[0] include all cells
	[1] include cell if at least one grid provides data
	[2] exclude cell if at least one grid does not provide data
	Default: 0
  -TYPE:<str>     	Type
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0