Field Enumeration
- Author: O.Conrad (c) 2017
- Menu: Table | Tools;Shapes | Attributes
Description
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.
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Input | Input | table, input | INPUT | - | - | 
| Output | Result | table, output, optional | RESULT_TABLE | - | - | 
| Result | shapes, output, optional | RESULT_SHAPES | - | - | 
| 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 | 
Command Line
Usage: saga_cmd table_tools 2 [-INPUT ] [-FIELD ] [-ENUM ] [-NAME ] [-ORDER ] [-RESULT_TABLE ] [-RESULT_SHAPES ]
  -INPUT:        	Input
	table, input
  -FIELD:        	Attribute
	table field
  -ENUM:         	Enumeration
	table field
  -NAME:         	Enumeration Field Name
	text
	Default: ENUM
  -ORDER:        	Order
	choice
	Available Choices:
	[0] ascending
	[1] descending
	Default: 0
  -RESULT_TABLE: 	Result
	table, output, optional
  -RESULT_SHAPES:	Result
	shapes, output, optional