Tool Create Random Points
Create a layer with randomly distributed points.
- Author: O.Conrad (c) 2018
- Menu: Shapes|Points
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Shapes Extent | Shapes, input | SHAPES | - | - |
Polygons | Shapes, input | POLYGONS | - | - |
Output | Points | Shapes, output | POINTS | - | - |
Options | Target Area | Choice | EXTENT | - | Available Choices: [0] user defined [1] grid system [2] shapes extent [3] polygons Default: 0 |
Grid System Extent | Grid system | GRIDSYSTEM | - | - |
Left | Floating point | XMIN | - | Default: 0.000000 |
Right | Floating point | XMAX | - | Default: 0.000000 |
Bottom | Floating point | YMIN | - | Default: 0.000000 |
Top | Floating point | YMAX | - | Default: 0.000000 |
Columns | Integer | NX | - | Minimum: 1 Default: 1 |
Rows | Integer | NY | - | Minimum: 1 Default: 1 |
Buffer | Floating point | BUFFER | add buffer (map units) to extent | Minimum: 0.000000 Default: 0.000000 |
Number of Points | Integer | COUNT | - | Minimum: 1 Default: 100 |
Number for... | Choice | DISTRIBUTE | - | Available Choices: [0] all polygons [1] each polygon Default: 0 |
Iterations | Integer | ITERATIONS | Maximum number of iterations to find a suitable place for a point. | Minimum: 1 Default: 1000 |
Distance | Floating point | DISTANCE | Minimum distance a point should keep to each other. | Minimum: 0.000000 Default: 0.000000 |
Command-line
Usage: saga_cmd shapes_points 21 [-POINTS <str>] [-EXTENT <str>] [-GRIDSYSTEM_D <double>] [-GRIDSYSTEM_X <double>] [-GRIDSYSTEM_Y <double>] [-GRIDSYSTEM_NX <num>] [-GRIDSYSTEM_NY <num>] [-GRIDSYSTEM_FILE <str>] [-SHAPES <str>] [-POLYGONS <str>] [-XMIN <double>] [-XMAX <double>] [-YMIN <double>] [-YMAX <double>] [-NX <num>] [-NY <num>] [-BUFFER <double>] [-COUNT <num>] [-DISTRIBUTE <str>] [-ITERATIONS <num>] [-DISTANCE <double>]
-POINTS:<str> Points
Shapes, output
-EXTENT:<str> Target Area
Choice
Available Choices:
[0] user defined
[1] grid system
[2] shapes extent
[3] polygons
Default: 0
-GRIDSYSTEM_D:<double> Cell Size
-GRIDSYSTEM_X:<double> Lower Left Center Cell X-Coordinate
-GRIDSYSTEM_Y:<double> Lower Left Center Cell Y-Coordinate
-GRIDSYSTEM_NX:<num> Number of Columns
-GRIDSYSTEM_NY:<num> Number of Rows
-GRIDSYSTEM_FILE:<str> Grid File
-SHAPES:<str> Shapes Extent
Shapes, input
-POLYGONS:<str> Polygons
Shapes, input
-XMIN:<double> Left
Floating point
Default: 0.000000
-XMAX:<double> Right
Floating point
Default: 0.000000
-YMIN:<double> Bottom
Floating point
Default: 0.000000
-YMAX:<double> Top
Floating point
Default: 0.000000
-NX:<num> Columns
Integer
Minimum: 1
Default: 1
-NY:<num> Rows
Integer
Minimum: 1
Default: 1
-BUFFER:<double> Buffer
Floating point
Minimum: 0.000000
Default: 0.000000
-COUNT:<num> Number of Points
Integer
Minimum: 1
Default: 100
-DISTRIBUTE:<str> Number for...
Choice
Available Choices:
[0] all polygons
[1] each polygon
Default: 0
-ITERATIONS:<num> Iterations
Integer
Minimum: 1
Default: 1000
-DISTANCE:<double> Distance
Floating point
Minimum: 0.000000
Default: 0.000000