Coverage 要素类属性 (arcpy)

摘要

Describe 函数可返回 Coverage 要素类的以下属性。同时还支持要素类属性表属性数据集属性

Coverage 要素类可返回“CoverageFeatureClass”dataType

属性

属性说明数据类型
featureClassType
(只读)

The feature class types.

  • Point
  • Arc
  • Polygon
  • Node
  • Tic
  • Annotation
  • Section
  • Route
  • Link
  • Region
  • Label
  • File
String
hasFAT
(只读)

True if the coverage feature class has a Feature Attribute Table (FAT) and False if it does not.

Boolean
topology
(只读)

Indicates the state of the coverage feature class topology.

  • NotApplicableThe topology is not supported by this feature class.
  • PreliminaryTopology is preliminary.
  • ExistsTopology exists.
  • UnknownTopology status is unknown.
String

代码实例

Coverage FeatureClass properties example (stand-alone script)

The following stand-alone script displays properties for a Coverage FeatureClass.

import arcpy

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

# Print coverage feature class properties
#
print "%-17s %s" % ("featureClassType:", desc.featureClassType)
print "%-17s %s" % ("hasFAT:", desc.hasFAT)
print "%-17s %s" % ("topology:", desc.topology)
5/10/2014