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