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.
- Author: V.Olaya (c) 2004, O.Conrad (c) 2018
- Menu: Shapes|Points
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Polygons | Shapes (input) | POLYGONS | - | - |
Output | Points | Shapes (output) | POINTS | - | - |
Options | Number of Points (*) | Table field | NUMFIELD | Desired number of points per polygon. | - |
Number of Points | Integer | NUMPOINTS | Desired number of points per polygon. | Minimum: 0 Default: 100 |
Maximum Iterations | Integer | MAXITER | - | Minimum: 0 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: 0
Default: 100
-MAXITER:<num> Maximum Iterations
Integer
Minimum: 0
Default: 30