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

The description of the domain.

String
domainType
(Read Only)

The domain type.

  • CodedValueCoded value domain
  • RangeRange domain
String
mergePolicy
(Read Only)

The merge policy type.

  • AreaWeightedArea weighted merge policy
  • DefaultValueDefault value merge policy
  • SumValuesSum the values merge policy
String
name
(Read Only)

The name of the attribute domain.

String
owner
(Read Only)

The owner of the domain.

NoteNote:

This property only applies to domains in enterprise geodatabases.

String
range
(Read Only)

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

tuple
splitPolicy
(Read Only)

The split policy type.

  • DefaultValueDefault value split policy
  • DuplicateDuplicate split policy
  • GeometryRatioGeometry ratio split policy
String
type
(Read Only)

The field type.

String

Related Topics

3/3/2014