Synthèse
The Describe function returns the following properties for coverage feature classes. The Feature Class, Table, and Dataset property groups are also supported.
For a coverage feature class, the Describe dataType property returns a value of "CoverageFeatureClass".
Propriétés
Propriété | Explication | Type de données |
featureClassType (Lecture seule) | The feature class types.
| String |
hasFAT (Lecture seule) | True if the coverage feature class has a Feature Attribute Table (FAT) and False if it does not. | Boolean |
topology (Lecture seule) | Indicates the state of the coverage feature class topology.
| String |
Exemple de code
The following stand-alone script displays properties for a coverage feature class:
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))
Vous avez un commentaire à formuler concernant cette rubrique ?