ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

FeatureClass properties

  • Résumé
  • Propriétés
  • Exemple de code

Résumé

The Describe function returns the following properties for Feature Classes. Table Properties and Dataset Properties are also supported. Editor Tracking Properties are supported if editor tracking has been enabled for this feature class.

A Feature Class returns a dataType of "FeatureClass".

Propriétés

PropriétéExplicationType de données
featureType
(Lecture seule)

The feature type of the feature class.

  • Simple —Polygons, 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.
  • SimpleJunction —Simple junction feature in a geometric network representing point objects, such as a fuse, service point, or telephone pole.
  • SimpleEdge —Simple edge feature in a geometric network representing polyline objects, such as primary or secondary overheads.
  • ComplexEdge —Complex 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.
  • Annotation —Place or object names or identifiers, such as street names, hydrant ID numbers, land values, or elevation.
  • CoverageAnnotation —Place or object names or identifiers, such as street names, hydrant ID numbers, land values, or elevation. Not supported in geodatabases; only supported in coverage datasets.
  • Dimension —Measurements, such as distances, lengths, widths, and depths.
  • RasterCatalogItem —A raster dataset in a raster catalog that has information, such as footprints, names, metadata, and any other user-defined attributes.
String
hasM
(Lecture seule)

Indicates if the geometry is m-value enabled.

Boolean
hasZ
(Lecture seule)

Indicates if the geometry is z-value enabled.

Boolean
hasSpatialIndex
(Lecture seule)

Indicates if the feature class has a spatial index.

Boolean
shapeFieldName
(Lecture seule)

The name of the Shape field.

String
shapeType
(Lecture seule)

The geometry shape type.

  • Polygon
  • Polyline
  • Point
  • Multipoint
  • MultiPatch
String

Exemple de code

FeatureClass properties example (stand-alone script)

The following stand-alone script displays some 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)

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2019 Esri. | Confidentialité | Légal