Skip to main content

Domain

サマリー

The Domain object contains properties that describe an attribute domain.

ディスカッション

Domain objects cannot be created directly. Domain properties can be accessed through the arcpy.da.ListDomains function.

プロパティ

名前 説明 データ タイプ

codedValues

(読み取り専用)

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

(読み取り専用)

The description of the domain.

String

domainType

(読み取り専用)

Specifies the domain type.

  • CodedValue—The domain type is coded value.

  • Range—The domain type is range.

String

mergePolicy

(読み取り専用)

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

(読み取り専用)

The name of the attribute domain.

String

owner

(読み取り専用)

The owner of the domain.

注意:

This property only applies to domains in enterprise geodatabases.

String

range

(読み取り専用)

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

tuple

splitPolicy

(読み取り専用)

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

(読み取り専用)

The field type.

String