SAGA-GIS Tool Library Documentation (v7.0.0)

Tool 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