Tool Table Field Enumeration (Shapes)
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: Shapes|Table
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Input | Shapes (input) | INPUT | - | - | 
| Output | Output (*) | Shapes (optional output) | 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 21 [-INPUT <str>] [-OUTPUT <str>] [-FIELD <str>] [-ENUM <str>] [-NAME <str>] [-ORDER <str>]
  -INPUT:<str> 	Input
	Shapes (input)
  -OUTPUT:<str>	Output
	Shapes (optional output)
  -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