SAGA 9.4.2 | Tool Library Documentation

Polygon Centroids


Description

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


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsshapes, inputPOLYGONS--
OutputCentroidsshapes, outputCENTROIDS--
OptionsCentroids for each partbooleanMETHOD-Default: 0
Force InsidebooleanINSIDEIf a centroid falls outside its polygon, then move it to the closest boundary.Default: 0

Command Line


Usage: saga_cmd shapes_polygons 1 [-POLYGONS ] [-CENTROIDS ] [-METHOD ] [-INSIDE ]
  -POLYGONS: 	Polygons
	shapes, input
  -CENTROIDS:	Centroids
	shapes, output
  -METHOD:   	Centroids for each part
	boolean
	Default: 0
  -INSIDE:   	Force Inside
	boolean
	Default: 0