Describe method |
|
Release 9.3
Last modified January 19, 2010 |
![]() ![]() ![]() Print all topics in : "Properties and Methods" |
Note:
This topic was updated for 9.3.1.
Similar to the ArcInfo Describe command, the Describe method details properties, such as type, name, spatial reference, domains, and versioning, for Data Elements such as FeatureClasses, Tables, GeoDatasets, Coverage FeatureClasses, Datasets, RelationshipClasses, Files, Layers, and Workspaces, as well as geoprocessing objects such as TableViews and FeatureLayers.
Part | Description |
object | The instantiated geoprocessing object. |
inputValue | The name of the DataElement, or GPObject, to be described. If the workspace is not set, you must include the path as well as the name. |
import arcgisscripting gp = arcgisscripting.create(9.3) gp.workspace = "c:\\temp\\buffer.mdb" fc = "roads2" dsc = gp.describe(fc) print "Describing:", fc print "FeatureType: \n" + str(dsc.FeatureType) print "TopologyName: \n" + str(dsc.TopologyName) print "HasM: \n" + str(dsc.HasM) print "HasZ: \n" + str(dsc.HasZ) print "HasSpatialIndex: \n" + str(dsc.HasSpatialIndex) print "ShapeFieldName: \n" + str(dsc.ShapeFieldName) print "ShapeType: \n" + str(dsc.ShapeType)