Domain (arcpy.da)

Zusammenfassung

The Domain object contains properties that describe an attribute domain.

Diskussion

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

Eigenschaften

EigenschaftErläuterungDatentyp
codedValues
(Schreibgeschützt)

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
(Schreibgeschützt)

The name of the attribute domain.

String
domainType
(Schreibgeschützt)

The domain type.

  • CodedValueCoded value domain.
  • RangeRange domain.
String
range
(Schreibgeschützt)

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

tuple
type
(Schreibgeschützt)

The field type.

String
owner
(Schreibgeschützt)

The owner of the domain.

HinweisHinweis:

This property only applies to domains in enterprise geodatabases.

String
MergePolicy
(Schreibgeschützt)

The merge policy type.

  • SumSum the values merge policy.
  • WeightedArea weighted merge policy.
  • DefaultDefault value merge policy.
String
SplitPolicy
(Schreibgeschützt)

The split policy type.

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

Verwandte Themen

9/11/2013