Tool Field Enumeration
Enumeration of a table attribute, i.e. a unique identifier is assigned to identical values of the chosen attribute field. If no attribute is chosen, a simple enumeration is done for all records, and this with respect to the sorting order if the dataset has been indexed.
- Author: O.Conrad (c) 2017
- Menu: Table|Tools
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | Table, input | INPUT | - | - |
Output | Output (*) | Table, output, optional | OUTPUT | - | - |
Options | Attribute (*) | Table field | FIELD | - | - |
Enumeration (*) | Table field | ENUM | - | - |
Enumeration Field Name | Text | NAME | - | Default: ENUM |
Order | Choice | ORDER | - | Available Choices: [0] ascending [1] descending Default: 0 |
(*) optional |
Command-line
Usage: saga_cmd table_tools 2 [-INPUT <str>] [-OUTPUT <str>] [-FIELD <str>] [-ENUM <str>] [-NAME <str>] [-ORDER <str>]
-INPUT:<str> Input
Table, input
-OUTPUT:<str> Output
Table, output, optional
-FIELD:<str> Attribute
Table field
-ENUM:<str> Enumeration
Table field
-NAME:<str> Enumeration Field Name
Text
Default: ENUM
-ORDER:<str> Order
Choice
Available Choices:
[0] ascending
[1] descending
Default: 0