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.

  • CodedValue —Coded value domain
  • Range —Range domain
String
mergePolicy
(Schreibgeschützt)

The merge policy type.

  • AreaWeighted —Area weighted merge policy
  • DefaultValue —Default value merge policy
  • SumValues —Sum 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.

  • DefaultValue —Default value split policy
  • Duplicate —Duplicate split policy
  • GeometryRatio —Geometry ratio split policy
String
type
(Schreibgeschützt)

The field type.

String

Verwandte Themen

4/26/2014