Skip to main content

Domain

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

Name Erläuterung Datentyp

codedValues

(Schreibgeschützt)

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

(Schreibgeschützt)

The description of the domain.

String

domainType

(Schreibgeschützt)

Specifies the domain type.

  • CodedValue—The domain type is coded value.

  • Range—The domain type is range.

String

mergePolicy

(Schreibgeschützt)

Specifies the merge policy that will be used.

  • AreaWeighted—The area weighted merge policy will be used.

  • DefaultValue—The default value will be used for the merge policy.

  • SumValues—The sum values merge policy will be used.

String

name

(Schreibgeschützt)

The name of the attribute domain.

String

owner

(Schreibgeschützt)

The owner of the domain.

Hinweis:

This property only applies to domains in enterprise geodatabases.

String

range

(Schreibgeschützt)

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

tuple

splitPolicy

(Schreibgeschützt)

Specifies the split policy that will be used.

  • DefaultValue—The default value will be used for the split policy.

  • Duplicate—The duplicate split policy will be used.

  • GeometryRatio—The geometry ratio split policy will be used.

String

type

(Schreibgeschützt)

The field type.

String