Domain

Synthèse

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

The description of the domain.

String
domainType
(Lecture seule)

Specifies the domain type.

  • CodedValueThe domain type is coded value.
  • RangeThe domain type is range.
String
mergePolicy
(Lecture seule)

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

The name of the attribute domain.

String
owner
(Lecture seule)

The owner of the domain.

Remarque :

This property only applies to domains in enterprise geodatabases.

String
range
(Lecture seule)

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

tuple
splitPolicy
(Lecture seule)

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

The field type.

String

Rubriques connexes


Dans cette rubrique