FeatureAttribute Class

Summary: An attribute of a Feature.

Module: aspose.gis

Full Name: aspose.gis.FeatureAttribute

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
FeatureAttribute(name, data_type)Initializes a new instance of the FeatureAttribute class.
FeatureAttribute(name, data_type, can_be_null)Initializes a new instance of the FeatureAttribute class.

Properties

NameTypeAccessDescription
can_be_nullboolr/wGets a value indicating whether this instance can be null.
can_be_unsetboolr/wGets or sets a value indicating whether value for this attribute can be omitted.
data_typeAttributeDataTyper/wGets the data type of the attribute.
default_valueobjectr/wGets or sets a value for the attribute, that indicates missing data.
has_custom_default_valueboolrGets a value indicating whether the pre-defined default value for this attribute was overridden with a custom value.
is_lockedboolrGets a value indicating whether this attribute is locked.
namestringr/wGets the name of the attribute.
precisionNullabler/wGets or sets maximum number of decimal digits to store.
type_namestringr/wThe type name of the attribute.
widthNullabler/wGets or sets maximum allowed width of character representation of the attribute.

Methods

NameDescription
lock()Locks this attribute.

Constructor: FeatureAttribute(name, data_type)

 FeatureAttribute(name, data_type) 

Initializes a new instance of the FeatureAttribute class.

Parameters:

ParameterTypeDescription
namestringThe name of the attribute.
data_typeAttributeDataTypeThe data type of the attribute.

Constructor: FeatureAttribute(name, data_type, can_be_null)

 FeatureAttribute(name, data_type, can_be_null) 

Initializes a new instance of the FeatureAttribute class.

Parameters:

ParameterTypeDescription
namestringThe name of the attribute.
data_typeAttributeDataTypeThe data type of the attribute.
can_be_nullboolif this instance can be null; otherwise, .