Polygon Generalization
- Author: O.Conrad (c) 2019
- Menu: Shapes | Polygons
Description
A simple generalization tool for polygons. The tool joins polygons with an area size smaller than the specified threshold to a neighbouring polygon. Either the neighbouring polygon with the largest area or the one with which the largest edge length is shared wins.
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Shapes | shapes, input | POLYGONS | The input polygons. | - |
Output | Generalized Shapes | shapes, output, optional | GENERALIZED | The generalized output polygons. | - |
Options | Area Threshold | floating point number | THRESHOLD | The maximum area of a polygon to get joined [map units squared]. | Minimum: 0.000000
Default: 100.000000 |
Join to Neighbour with ... | choice | JOIN_TO | Choose the method to determine the winner polygon. | Available Choices:
[0] largest area
[1] largest shared edge length
Default: 0 |
Check Vertices | boolean | VERTICES | - | Default: 0 |
Tolerance | floating point number | EPSILON | - | Minimum: 0.000000
Default: 0.000010 |
Command Line
Usage: saga_cmd shapes_polygons 23 [-POLYGONS ] [-GENERALIZED ] [-THRESHOLD ] [-JOIN_TO ] [-VERTICES ] [-EPSILON ]
-POLYGONS: Shapes
shapes, input
-GENERALIZED: Generalized Shapes
shapes, output, optional
-THRESHOLD: Area Threshold
floating point number
Minimum: 0.000000
Default: 100.000000
-JOIN_TO: Join to Neighbour with ...
choice
Available Choices:
[0] largest area
[1] largest shared edge length
Default: 0
-VERTICES: Check Vertices
boolean
Default: 0
-EPSILON: Tolerance
floating point number
Minimum: 0.000000
Default: 0.000010