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

The description of the domain.

String
domainType
(Schreibgeschützt)

The domain type.

  • CodedValueCoded value domain
  • RangeRange domain
String
mergePolicy
(Schreibgeschützt)

The merge policy type.

  • AreaWeightedArea weighted merge policy
  • DefaultValueDefault value merge policy
  • SumValuesSum the values merge policy
String
name
(Schreibgeschützt)

The name of the attribute domain.

String
owner
(Schreibgeschützt)

The owner of the domain.

HinweisHinweis:

This property only applies to domains in enterprise geodatabases.

String
range
(Schreibgeschützt)

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

tuple
splitPolicy
(Schreibgeschützt)

The split policy type.

  • DefaultValueDefault value split policy
  • DuplicateDuplicate split policy
  • GeometryRatioGeometry ratio split policy
String
type
(Schreibgeschützt)

The field type.

String

Verwandte Themen

4/26/2014