Coverage 要素类属性 (arcpy)
摘要
Describe 函数可返回 Coverage 要素类的以下属性。同时还支持要素类属性、表属性和数据集属性。
Coverage 要素类可返回“CoverageFeatureClass”的 dataType。
属性
属性 | 说明 | 数据类型 |
featureClassType (只读) |
The feature class types.
| 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.
| 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)
9/15/2013