Domain

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 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)

Specifies the domain type.

  • CodedValueThe domain type is coded value.
  • RangeThe domain type is range.
String
mergePolicy
(Read Only)

Specifies the merge policy that will be used.

  • AreaWeightedThe area weighted merge policy will be used.
  • DefaultValueThe default value will be used for the merge policy.
  • SumValuesThe sum values merge policy will be used.
String
name
(Read Only)

The name of the attribute domain.

String
owner
(Read Only)

The owner of the domain.

Note:

This property only applies to domains in enterprise geodatabases.

String
range
(Read Only)

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

tuple
splitPolicy
(Read Only)

Specifies the split policy that will be used.

  • DefaultValueThe default value will be used for the split policy.
  • DuplicateThe duplicate split policy will be used.
  • GeometryRatioThe geometry ratio split policy will be used.
String
type
(Read Only)

The field type.

String

Related topics


In this topic