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.

  • CodedValue —Coded value domain.
  • Range —Range 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.

  • Sum —Sum the values merge policy.
  • Weighted —Area weighted merge policy.
  • Default —Default value merge policy.
String
SplitPolicy
(Lecture seule)

The split policy type.

  • Ratio —Geometry ratio split policy.
  • Duplicate —Duplicate split policy.
  • Default —Default value split policy.
String

Thèmes connexes

9/12/2013