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

The description of the domain.

String
domainType
(Lecture seule)

The domain type.

  • CodedValueCoded value domain
  • RangeRange domain
String
mergePolicy
(Lecture seule)

The merge policy type.

  • AreaWeightedArea weighted merge policy
  • DefaultValueDefault value merge policy
  • SumValuesSum the values merge policy
String
name
(Lecture seule)

The name of the attribute domain.

String
owner
(Lecture seule)

The owner of the domain.

RemarqueRemarque :

This property only applies to domains in enterprise geodatabases.

String
range
(Lecture seule)

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

tuple
splitPolicy
(Lecture seule)

The split policy type.

  • DefaultValueDefault value split policy
  • DuplicateDuplicate split policy
  • GeometryRatioGeometry ratio split policy
String
type
(Lecture seule)

The field type.

String

Thèmes connexes

4/26/2014