Feature Class properties

Summary

The Describe function returns the following properties for feature classes. The Table and Dataset property groups are also supported. The Editor Tracking property group is supported if editor tracking has been enabled for this feature class.

For a feature class, the Describe dataType property returns a value of "FeatureClass".

Properties

PropertyExplanationData Type
dateAccessed
(Read Only)

The date in UTC that the feature class was last accessed.

String
dateCreated
(Read Only)

The date in UTC that the feature class was created.

String
dateModified
(Read Only)

The date in UTC that the feature class was last modified.

String
featureType
(Read Only)

The feature type of the feature class.

  • AnnotationPlace or object names or identifiers, such as street names, hydrant ID numbers, land values, or elevation.
  • CatalogDatasetItem A catalog dataset is the container for item references, which are called catalog dataset items.
  • ComplexEdgeComplex edge feature in a geometric network representing polyline objects, such as primary overheads, which have midspan connectivity. Network resources flow through complex edges without interruption by midspan connectivity.
  • DimensionMeasurements, such as distances, lengths, widths, and depths.
  • SimplePolygons, polylines, and points representing objects or places that have area, such as water bodies; linear objects, such as rivers; and localized positions, such as houses or sample sites.
  • SimpleEdgeSimple edge feature in a geometric network representing polyline objects, such as primary or secondary overheads.
  • SimpleJunctionSimple junction feature in a geometric network representing point objects, such as a fuse, service point, or telephone pole.
String
hasM
(Read Only)

Indicates whether the geometry is m-value enabled.

Boolean
hasZ
(Read Only)

Indicates whether the geometry is z-value enabled.

Boolean
hasSpatialIndex
(Read Only)

Indicates whether the feature class has a spatial index.

Note:

Compressed datasets do not have a spatial index on the shape column and will return False.

Boolean
shapeFieldName
(Read Only)

The name of the geometry field.

String
shapeType
(Read Only)

The geometry shape type.

  • Polygon
  • Polyline
  • Point
  • Multipoint
  • MultiPatch
String
size
(Read Only)

The size of the feature class in bytes.

Integer
splitModel
(Read Only)

The split model that is set for the feature class.

  • DeleteInsertInsert
  • UpdateInsert
String

Code sample

Feature class properties example

The following stand-alone script displays feature class properties:

import arcpy

# Create a Describe object from the feature class
#
desc = arcpy.Describe("C:/data/arch.dgn/Point")

# Print some feature class properties
#
print("Feature Type:  " + desc.featureType)
print("Shape Type :   " + desc.shapeType)
print("Spatial Index: " + str(desc.hasSpatialIndex))