Domain (arcpy.da)

摘要

属性域对象包括描述属性域的属性。

讨论

无法直接创建属性域对象。 可通过 arcpy.da.ListDomains 函数访问属性域属性。

属性

属性说明数据类型
codedValues
(只读)

A Python dictionary containing the coded values for the attribute domains. The dictionary keys are the coded values. The dictionary values are the domain descriptions.

Dictionary
name
(只读)

The name of the attribute domain.

String
domainType
(只读)

The domain type.

  • CodedValueCoded value domain.
  • RangeRange domain.
String
range
(只读)

A Python tuple containing the range domain's minimum and maximum values.

tuple
type
(只读)

The field type.

String
owner
(只读)

The owner of the domain.

注注:

This property only applies to domains in enterprise geodatabases.

String
MergePolicy
(只读)

The merge policy type.

  • SumSum the values merge policy.
  • WeightedArea weighted merge policy.
  • DefaultDefault value merge policy.
String
SplitPolicy
(只读)

The split policy type.

  • RatioGeometry ratio split policy.
  • DuplicateDuplicate split policy.
  • DefaultDefault value split policy.
String

相关主题

9/15/2013