SAGA 9.3.3 | Tool Library Documentation

Select and Delete


Description

This tool selects and deletes all features from a shapes layer, which meet the select criterion defined by the expression.
If the Expression Type is set to string expression, the selection uses the given character string expression and the chosen Select if... option. If an Attribute field is selected, only this attribute will be evaluated, or all attributes if not.
If the Expression Type is set to numerical expression, those records will be selected for deletion, for which the expression evaluates to non-zero. The expression syntax is the same as the one for the table calculator. If an Attribute is set, the expression evaluates only this attribute, which can be addressed with the letter 'a' in the expression formula. If no attribute is selected, attributes are addressed by the character 'f' (for 'field') followed by the field number (i.e.: f1, f2, ..., fn) or by the field name in square brackets (e.g.: [Field Name]).
Examples:


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputSHAPES--
OptionsAttributetable fieldATTRIBUTE--
Expression TypechoiceMETHOD-Available Choices: [0] string expression [1] numerical expression Default: 0
ExpressiontextEXPRESSION-Default: expression
Select if...choiceCOMPARE-Available Choices: [0] attribute is identical with search expression [1] attribute contains search expression [2] attribute is contained in search expression Default: 0
Case SensitivebooleanCASE-Default: 0

Command Line


Usage: saga_cmd shapes_tools select_and_delete [-SHAPES ] [-ATTRIBUTE ] [-METHOD ] [-EXPRESSION ] [-COMPARE ] [-CASE ]
  -SHAPES:    	Shapes
	shapes, input
  -ATTRIBUTE: 	Attribute
	table field
  -METHOD:    	Expression Type
	choice
	Available Choices:
	[0] string expression
	[1] numerical expression
	Default: 0
  -EXPRESSION:	Expression
	text
	Default: expression
  -COMPARE:   	Select if...
	choice
	Available Choices:
	[0] attribute is identical with search expression
	[1] attribute contains search expression
	[2] attribute is contained in search expression
	Default: 0
  -CASE:      	Case Sensitive
	boolean
	Default: 0