SAGA 9.4.2 | Tool Library Documentation

Split Shapes Layer Randomly


Description

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.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputSHAPES--
OutputGroup Ashapes, outputA--
Group Bshapes, outputB--
OptionsCategoriestable fieldFIELD--
Relation B / Afloating point numberPERCENT-Minimum: 0.000000 Maximum: 100.000000 Default: 25.000000
ExactbooleanEXACT-Default: 1

Command Line


Usage: saga_cmd shapes_tools 16 [-SHAPES ] [-FIELD ] [-A ] [-B ] [-PERCENT ] [-EXACT ]
  -SHAPES:    	Shapes
	shapes, input
  -FIELD:     	Categories
	table field
  -A:         	Group A
	shapes, output
  -B:         	Group B
	shapes, output
  -PERCENT:	Relation B / A
	floating point number
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 25.000000
  -EXACT:     	Exact
	boolean
	Default: 1