Module Add Grid Values to Shapes
Spatial Join: Retrieves information from the selected grids at the positions of the shapes of the selected shapes layer and adds it to the resulting shapes layer. For points this is similar to 'Add Grid Values to Points' module. For lines and polygons average values will be calculated from interfering grid cells. For polygons the 'Grid Statistics for Polygons' module offers more advanced options.
- Author: O.Conrad (c) 2003
- Specification: grid
- Menu: Shapes|Grid|Grid Values
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Shapes | Shapes (input) | SHAPES | - | - |
Grids | Grid list (input) | GRIDS | - | - |
Output | Result (*) | Shapes (optional output) | RESULT | - | - |
Options | Interpolation | Choice | INTERPOL | - | Available Choices: [0] Nearest Neighbor [1] Bilinear Interpolation [2] Inverse Distance Interpolation [3] Bicubic Spline Interpolation [4] B-Spline Interpolation Default: 4 |
(*) optional |
Command-line
Usage: saga_cmd shapes_grid 1 [-SHAPES <str>] [-GRIDS <str>] [-RESULT <str>] [-INTERPOL <str>]
-SHAPES:<str> Shapes
Shapes (input)
-GRIDS:<str> Grids
Grid list (input)
-RESULT:<str> Result
Shapes (optional output)
-INTERPOL:<str> Interpolation
Choice
Available Choices:
[0] Nearest Neighbor
[1] Bilinear Interpolation
[2] Inverse Distance Interpolation
[3] Bicubic Spline Interpolation
[4] B-Spline Interpolation
Default: 4