Tool Grid Classes Area for Polygons
Calculates for each polygon the area covered by each grid class.
- Author: O.Conrad (c) 2016
- Menu: Shapes|Shapes-Grid Tools|Grid Values
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Polygons | Shapes (input) | POLYGONS | - | - |
Grid | Grid (input) | GRID | - | - |
Look-up Table (*) | Table (optional input) | GRID_LUT | - | - |
Output | Result (*) | Shapes (optional output) | RESULT | - | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Method | Choice | METHOD | - | Available Choices: [0] cell center [1] cell area Default: 0 |
Value Interpretation | Choice | GRID_VALUES | - | Available Choices: [0] values are class identifiers [1] use look-up table Default: 1 |
Value | Table field | GRID_LUT_MIN | - | - |
Value (Maximum) (*) | Table field | GRID_LUT_MAX | - | - |
Name (*) | Table field | GRID_LUT_NAM | - | - |
(*) optional |
Command-line
Usage: saga_cmd shapes_grid 18 [-POLYGONS <str>] [-RESULT <str>] [-GRID <str>] [-METHOD <str>] [-GRID_VALUES <str>] [-GRID_LUT <str>] [-GRID_LUT_MIN <str>] [-GRID_LUT_MAX <str>] [-GRID_LUT_NAM <str>]
-POLYGONS:<str> Polygons
Shapes (input)
-RESULT:<str> Result
Shapes (optional output)
-GRID:<str> Grid
Grid (input)
-METHOD:<str> Method
Choice
Available Choices:
[0] cell center
[1] cell area
Default: 0
-GRID_VALUES:<str> Value Interpretation
Choice
Available Choices:
[0] values are class identifiers
[1] use look-up table
Default: 1
-GRID_LUT:<str> Look-up Table
Table (optional input)
-GRID_LUT_MIN:<str> Value
Table field
-GRID_LUT_MAX:<str> Value (Maximum)
Table field
-GRID_LUT_NAM:<str> Name
Table field