SAGA 9.4.2 | Tool Library Documentation

Grid Cells to Points/Polygons


Description

This tool saves grid cell values to point (grid nodes) or polygon (grid cells) shapes. Optionally only points can be saved, which are contained by polygons of the specified polygons 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--
Polygonsshapes, input, optionalPOLYGONS--
OutputPointsshapes, outputPOINTS--
Pointsshapes, outputCELLS--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Attributetable 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

Command Line


Usage: saga_cmd shapes_grid 3 [-GRIDS ] [-POLYGONS ] [-ATTRIBUTE ] [-POINTS ] [-CELLS ] [-NODATA ] [-TYPE ]
  -GRIDS:    	Grids
	grid list, input
  -POLYGONS: 	Polygons
	shapes, input, optional
  -ATTRIBUTE:	Attribute
	table field
  -POINTS:   	Points
	shapes, output
  -CELLS:    	Points
	shapes, output
  -NODATA:   	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:     	Type
	choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0