Domain

Resumen

The Domain object contains properties that describe an attribute domain.

Debate

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

Propiedades

PropiedadExplicaciónTipo de datos
codedValues
(Sólo lectura)

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
(Sólo lectura)

The description of the domain.

String
domainType
(Sólo lectura)

Specifies the domain type.

  • CodedValueThe domain type is coded value.
  • RangeThe domain type is range.
String
mergePolicy
(Sólo lectura)

Specifies the merge policy that will be used.

  • AreaWeightedThe area weighted merge policy will be used.
  • DefaultValueThe default value will be used for the merge policy.
  • SumValuesThe sum values merge policy will be used.
String
name
(Sólo lectura)

The name of the attribute domain.

String
owner
(Sólo lectura)

The owner of the domain.

Nota:

This property only applies to domains in enterprise geodatabases.

String
range
(Sólo lectura)

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

tuple
splitPolicy
(Sólo lectura)

Specifies the split policy that will be used.

  • DefaultValueThe default value will be used for the split policy.
  • DuplicateThe duplicate split policy will be used.
  • GeometryRatioThe geometry ratio split policy will be used.
String
type
(Sólo lectura)

The field type.

String

Temas relacionados


En este tema