SAGA-GIS Module Library Documentation (v2.3.0)

Module Select by Attributes... (String Expression)

Searches for an character string expression in the attributes table and selects records where the expression is found.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesShapes (input)SHAPES--
OptionsAttribute (*)Table fieldFIELDattribute to be searched; if not set all attributes will be searched-
ExpressionTextEXPRESSION--
Case SensitiveBooleanCASE-Default: 1
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: 1
MethodChoiceMETHOD-Available Choices:
[0] new selection
[1] add to current selection
[2] select from current selection
[3] remove from current selection
Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_tools 4 [-SHAPES <str>] [-FIELD <str>] [-EXPRESSION <str>] [-CASE <str>] [-COMPARE <str>] [-METHOD <str>]
  -SHAPES:<str>    	Shapes
	Shapes (input)
  -FIELD:<str>     	Attribute
	Table field
  -EXPRESSION:<str>	Expression
	Text
  -CASE:<str>      	Case Sensitive
	Boolean
	Default: 1
  -COMPARE:<str>   	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: 1
  -METHOD:<str>    	Method
	Choice
	Available Choices:
	[0] new selection
	[1] add to current selection
	[2] select from current selection
	[3] remove from current selection
	Default: 0