Tool 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' tool. For lines and polygons average values will be calculated from interfering grid cells. For polygons the 'Grid Statistics for Polygons' tool offers more advanced options.
- Author: O.Conrad (c) 2003
- 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 | Resampling | Choice | RESAMPLING | - | Available Choices: [0] Nearest Neighbour [1] Bilinear Interpolation [2] Bicubic Spline Interpolation [3] B-Spline Interpolation Default: 3 |
(*) optional |
Command-line
Usage: saga_cmd shapes_grid 1 [-SHAPES <str>] [-GRIDS <str>] [-RESULT <str>] [-RESAMPLING <str>]
-SHAPES:<str> Shapes
Shapes (input)
-GRIDS:<str> Grids
Grid list (input)
-RESULT:<str> Result
Shapes (optional output)
-RESAMPLING:<str> Resampling
Choice
Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 3