Domain (arcpy.da)

Summary

The Domain object contains properties that describe an attribute domain.

Discussion

Domain objects cannot be created directly. Domain properties can be accessed through the arcpy.da.ListDomains function.

Properties

PropertyExplanationData Type
codedValues
(Read Only)

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
(Read Only)

The name of the attribute domain.

String
domainType
(Read Only)

The domain type.

  • CodedValueCoded value domain.
  • RangeRange domain.
String
range
(Read Only)

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

tuple
type
(Read Only)

The field type.

String
owner
(Read Only)

The owner of the domain.

NoteNote:

This property only applies to domains in enterprise geodatabases.

String
MergePolicy
(Read Only)

The merge policy type.

  • SumSum the values merge policy.
  • WeightedArea weighted merge policy.
  • DefaultDefault value merge policy.
String
SplitPolicy
(Read Only)

The split policy type.

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

Related Topics

4/16/2013