Module Select by Attributes... (String Expression)
Searches for an character string expression in the attributes table and selects records where the expression is found.
- Author: V.Olaya (c) 2004, O.Conrad (c) 2011
- Menu: Shapes|Selection
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Shapes | Shapes (input) | SHAPES | - | - |
Options | Attribute (*) | Table field | FIELD | attribute to be searched; if not set all attributes will be searched | - |
Expression | Text | EXPRESSION | - | - |
Case Sensitive | Boolean | CASE | - | Default: 1 |
Select if... | Choice | COMPARE | - | Available Choices: [0] attribute is identical with search expression [1] attribute contains search expression [2] attribute is contained in search expression Default: 1 |
Method | Choice | METHOD | - | 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