Tool Polygon Centroids
Creates a points layer containing the centroids of the input polygon layer.
- Author: O.Conrad (c) 2003
- Menu: Shapes|Polygons
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Polygons | Shapes, input | POLYGONS | - | - |
Output | Centroids | Shapes, output | CENTROIDS | - | - |
Options | Centroids for each part | Boolean | METHOD | - | Default: 0 |
Force Inside | Boolean | INSIDE | If a centroid falls outside its polygon, then move it to the closest boundary. | Default: 0 |
Command-line
Usage: saga_cmd shapes_polygons 1 [-POLYGONS <str>] [-CENTROIDS <str>] [-METHOD <str>] [-INSIDE <str>]
-POLYGONS:<str> Polygons
Shapes, input
-CENTROIDS:<str> Centroids
Shapes, output
-METHOD:<str> Centroids for each part
Boolean
Default: 0
-INSIDE:<str> Force Inside
Boolean
Default: 0