Tool Split Shapes Layer Randomly
Randomly splits one layer into to two new layers. Useful to create a control group for model testing. Optionally this can be done category-wise if a category field is specified.
- Author: O.Conrad (c) 2008
- Menu: Shapes|Construction
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Shapes | Shapes, input | SHAPES | - | - |
Output | Group A | Shapes, output | A | - | - |
Group B | Shapes, output | B | - | - |
Options | Categories (*) | Table field | FIELD | - | - |
Relation B / A | Floating point | PERCENT | - | Minimum: 0.000000 Maximum: 100.000000 Default: 25.000000 |
Exact | Boolean | EXACT | - | Default: 1 |
(*) optional |
Command-line
Usage: saga_cmd shapes_tools 16 [-SHAPES <str>] [-FIELD <str>] [-A <str>] [-B <str>] [-PERCENT <double>] [-EXACT <str>]
-SHAPES:<str> Shapes
Shapes, input
-FIELD:<str> Categories
Table field
-A:<str> Group A
Shapes, output
-B:<str> Group B
Shapes, output
-PERCENT:<double> Relation B / A
Floating point
Minimum: 0.000000
Maximum: 100.000000
Default: 25.000000
-EXACT:<str> Exact
Boolean
Default: 1