Skip to main content

Свойства покрытия

Краткая информация

Функция Describe возвращает следующие свойства покрытий. Группа свойств Набор данных также поддерживается.

Для покрытий, свойство Describe dataType возвращает значение "Coverage".

Свойства

Свойство Объяснение Тип данных

tolerances

(Только для чтения)

Допуски - это набор свойств, который включает следующие свойства:

  • fuzzy

  • dangle

  • ticMatch

  • edit

  • nodeSnap

  • weed

  • grain

  • snap

Object

Пример кода

Пример свойств покрытия

Следующий автономный скрипт показывает свойства допуска для покрытия:

import arcpy

# Create a describe object from a coverage
desc = arcpy.Describe("C:/data/tongass1")

# Get the tolerances property set from the describe object
tolProps = desc.tolerances

# Print all eight tolerance properties
print("Tolerances")
print("==========")
print("%-10s %s" % ("fuzzy:", tolProps.fuzzy))
print("%-10s %s" % ("dangle:", tolProps.dangle))
print("%-10s %s" % ("ticMatch:", tolProps.ticMatch))
print("%-10s %s" % ("edit:", tolProps.edit))
print("%-10s %s" % ("nodeSnap:", tolProps.nodeSnap))
print("%-10s %s" % ("weed:", tolProps.weed))
print("%-10s %s" % ("grain:", tolProps.grain))
print("%-10s %s" % ("snap:", tolProps.snap))