SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Populate Polygons with Points

For each selected polygon of the input layer or for all polygons, if none is selected, a multi-point record is created with evenly distributed points trying to meet the specified number of points per polygon.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes (input)POLYGONS--
OutputPointsShapes (output)POINTS--
OptionsNumber of Points (*)Table fieldNUMFIELDDesired number of points per polygon.-
Number of PointsIntegerNUMPOINTSDesired number of points per polygon.Minimum: 1
Default: 100
Maximum IterationsIntegerMAXITER-Minimum: 1
Default: 30
(*) optional

Command-line

Usage: saga_cmd shapes_points 4 [-POLYGONS <str>] [-POINTS <str>] [-NUMFIELD <str>] [-NUMPOINTS <num>] [-MAXITER <num>]
  -POLYGONS:<str> 	Polygons
	Shapes (input)
  -POINTS:<str>   	Points
	Shapes (output)
  -NUMFIELD:<str> 	Number of Points
	Table field
  -NUMPOINTS:<num>	Number of Points
	Integer
	Minimum: 1
	Default: 100
  -MAXITER:<num>  	Maximum Iterations
	Integer
	Minimum: 1
	Default: 30