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, input, optional | GRID_LUT | - | - |
Output | Result (*) | Shapes, output, optional | RESULT | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Processing Order | Choice | PROCESS | If only a small part of the grid area is covered by polygons, polygon by polygon processing might give an enormous performance boost. | Available Choices: [0] cell by cell [1] polygon by polygon Default: 1 |
Cell Area Intersection | Choice | METHOD | - | Available Choices: [0] cell center [1] cell area Default: 0 |
Output Measurment | Choice | OUTPUT | - | Available Choices: [0] total area [1] percentage Default: 0 |
Class Definition | Choice | GRID_VALUES | - | Available Choices: [0] values are class identifiers [1] use look-up table Default: 0 |
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>] [-PROCESS <str>] [-METHOD <str>] [-OUTPUT <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, output, optional
-GRID:<str> Grid
Grid, input
-PROCESS:<str> Processing Order
Choice
Available Choices:
[0] cell by cell
[1] polygon by polygon
Default: 1
-METHOD:<str> Cell Area Intersection
Choice
Available Choices:
[0] cell center
[1] cell area
Default: 0
-OUTPUT:<str> Output Measurment
Choice
Available Choices:
[0] total area
[1] percentage
Default: 0
-GRID_VALUES:<str> Class Definition
Choice
Available Choices:
[0] values are class identifiers
[1] use look-up table
Default: 0
-GRID_LUT:<str> Look-up Table
Table, input, optional
-GRID_LUT_MIN:<str> Value
Table field
-GRID_LUT_MAX:<str> Value (Maximum)
Table field
-GRID_LUT_NAM:<str> Name
Table field