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