Module Point Statistics for Polygons
Calculates statistics over all points falling in a polygon.
- Author: V. Olaya, O. Conrad (c) 2005, 2010
- Specification: grid
- Menu: Shapes|Polygons
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Points | Shapes (input) | POINTS | - | - |
Polygons | Shapes (input) | POLYGONS | - | - |
Output | Statistics (*) | Shapes (optional output) | STATISTICS | - | - |
Options | Attributes | Table fields | FIELDS | - | - |
Sum | Boolean | SUM | - | Default: 0 |
Mean | Boolean | AVG | - | Default: 1 |
Variance | Boolean | VAR | - | Default: 0 |
Deviation | Boolean | DEV | - | Default: 0 |
Minimum | Boolean | MIN | - | Default: 0 |
Maximum | Boolean | MAX | - | Default: 0 |
Count | Boolean | NUM | - | Default: 0 |
Field Naming | Choice | FIELD_NAME | - | Available Choices: [0] variable type + original name [1] original name + variable type [2] original name [3] variable type Default: 0 |
(*) optional |
Command-line
Usage: saga_cmd shapes_polygons 4 [-POINTS <str>] [-FIELDS <str>] [-POLYGONS <str>] [-STATISTICS <str>] [-SUM <str>] [-AVG <str>] [-VAR <str>] [-DEV <str>] [-MIN <str>] [-MAX <str>] [-NUM <str>] [-FIELD_NAME <str>]
-POINTS:<str> Points
Shapes (input)
-FIELDS:<str> Attributes
Table fields
-POLYGONS:<str> Polygons
Shapes (input)
-STATISTICS:<str> Statistics
Shapes (optional output)
-SUM:<str> Sum
Boolean
Default: 0
-AVG:<str> Mean
Boolean
Default: 1
-VAR:<str> Variance
Boolean
Default: 0
-DEV:<str> Deviation
Boolean
Default: 0
-MIN:<str> Minimum
Boolean
Default: 0
-MAX:<str> Maximum
Boolean
Default: 0
-NUM:<str> Count
Boolean
Default: 0
-FIELD_NAME:<str> Field Naming
Choice
Available Choices:
[0] variable type + original name
[1] original name + variable type
[2] original name
[3] variable type
Default: 0