Domain (arcpy.da)

Récapitulatif

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.

Propriétés

PropriétéExplicationType de données
codedValues
(Lecture seule)

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
(Lecture seule)

The name of the attribute domain.

String
domainType
(Lecture seule)

The domain type.

  • CodedValueCoded value domain.
  • RangeRange domain.
String
range
(Lecture seule)

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

tuple
type
(Lecture seule)

The field type.

String
owner
(Lecture seule)

The owner of the domain.

RemarqueRemarque :

This property only applies to domains in enterprise geodatabases.

String
MergePolicy
(Lecture seule)

The merge policy type.

  • SumSum the values merge policy.
  • WeightedArea weighted merge policy.
  • DefaultDefault value merge policy.
String
SplitPolicy
(Lecture seule)

The split policy type.

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

Thèmes connexes

9/12/2013