SAGA 9.9.1 | Tool Library Documentation

Field Enumeration


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

 NameTypeIdentifierDescriptionConstraints
InputInputtable, inputINPUT--
OutputResulttable, output, optionalRESULT_TABLE--
Resultshapes, output, optionalRESULT_SHAPES--
Resultpoint cloud, output, optionalRESULT_PC--
OptionsAttributetable fieldFIELD--
Enumerationtable fieldENUMField to which the enumeration is written. If not set, a new attribute field is created.-
Enumeration Field NametextNAMEThe field name of the created attribute. If an attribute is chosen, the name is used as prefix.Default: ENUM
OrderchoiceORDER-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