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.
- Author: O.Conrad (c) 2001
- Menu: Shapes|Shapes-Grid Tools|Vectorization
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grids | Grid list, input | GRIDS | - | - |
Polygons (*) | Shapes, input, optional | POLYGONS | - | - |
Output | Points | Shapes, output | POINTS | - | - |
Points | Shapes, output | CELLS | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Attribute (*) | Table field | ATTRIBUTE | - | - |
No-Data Cells | Choice | NODATA | - | 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 | Choice | TYPE | - | 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