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