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.
The tool can be used with tables, shapes or point clouds.
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | table, input | INPUT | - | - |
Output | Result | table, output, optional | RESULT_TABLE | - | - |
Result | shapes, output, optional | RESULT_SHAPES | - | - |
Result | point cloud, output, optional | RESULT_PC | - | - |
Options | Attribute | table field | FIELD | - | - |
Enumeration | table field | ENUM | Field to which the enumeration is written. If not set, a new attribute field is created. | - |
Enumeration Field Name | text | NAME | The field name of the created attribute. If an attribute is chosen, the name is used as prefix. | 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 ] [-RESULT_PC ]
-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
-RESULT_PC: Result
point cloud, output, optional