Define Functional Attribute

ERDAS IMAGINE Help

HGD_Variant
16.5.1
HGD_Product
ERDAS IMAGINE
HGD_Portfolio_Suite
Producer

Category: Feature Analysis

Operator Pack: Feature Analysis

Associated Namespace: HexagonGeospatial.FeatureAnalysis.DefineFunctionalAttribute

Default

Show All Ports

Define Functional Attribute Operator.

DefineFunctionalAttribute_Operator_all

Description

The Define Functional Attribute operator receives as input a Field Name and an Expression, and produces as output a FunctionalAttribute data type. The functional attribute can be input to the Generate Functional Attributes operator as well as other operators which use functional attributes.

By default the expression syntax is assumed to use the active regional settings of the system when it comes to interpreting decimal separators, digit grouping symbols, separators, and the like. It is the most natural way for a user to build an expression, and the most consistent with the user interface of Generate Functional Attributes operator. However because the syntax is persisted with these regional settings in the .gmdx file, this means that the model will not be correctly interpreted or executed with different regional settings. An optional port is provided which allows the builder of the model to indicate that the expression is being provided to this operator using syntax that is neutral to the region, using the fixed norm of U.S. regional settings for English. In this way the model can be made for correct interpretation and execution regardless of regional settings.

See Feature Expressions for more information.

Limitations

None

Connections

Inputs

Name

DataType(s)

Description

Shown by Default

Required

Default Value or Behavior (must xist if not Required, may exist otherwise)

FieldName

IMAGINE.String

Name of field to be created on output Features.

checkmark_gray

checkmark_gray

Expression

IMAGINE.String

Expression for determining output field characteristics such as data type, and for computing attribute values.

checkmark_gray

checkmark_gray

RegionNeutral

IMAGINE.Boolean

Indicates whether the expression is being provided to this operator using syntax that is specific to the region (False) or is using the fixed norm equivalent to U.S. regional settings for English (True).

False

Outputs

Name

DataType(s)

Description

Shown by Default

FunctionalAttribute

IMAGINE.FunctionalAttribute

Functional attribute definition for producing new fields with computed values.

checkmark_gray

Related Operators

Syntax

DefineFunctionalAttribute ( <FieldName>, <Expression>[, RegionNeutral=<RegionNeutral>] )