SAGA-GIS Module Library Documentation (v2.3.0)

Module Polygon Centroids

Creates a points layer containing the centroids of the input polygon layer.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes (input)POLYGONS--
OutputCentroidsShapes (output)CENTROIDS--
OptionsCentroids for each partBooleanMETHOD-Default: 0

Command-line

Usage: saga_cmd shapes_polygons 1 [-POLYGONS <str>] [-CENTROIDS <str>] [-METHOD <str>]
  -POLYGONS:<str> 	Polygons
	Shapes (input)
  -CENTROIDS:<str>	Centroids
	Shapes (output)
  -METHOD:<str>   	Centroids for each part
	Boolean
	Default: 0