laptop and a wrench

Bogue

The arcpy.ListFeatureClasses and arcpy.da.Walk functions return non-registered spatial tables within a Relational Database Management System (RDBMS).

Dernière publication: January 14, 2016 ArcSDE/Enterprise Geodatabase
Numéro d’ID de bogue BUG-000093302
EnvoiJanuary 5, 2016
Dernière modificationApril 28, 2025
S’applique àArcSDE/Enterprise Geodatabase
Version trouvée10.2.1
StatutWill Not Be Addressed

Informations supplémentaires

This is as designed. These functions will list objects that contain a spatial column, both registered and non-registered.

Solution de contournement

Use the arcpy.Describe function to find the dataset ID (DSID). Registered objects will have a value greater than 0. gdb = r'Database Connections\Connection to sde.sde' arcpy.env.workspace = gdb for fc in arcpy.ListFeatureClasses(): desc = arcpy.Describe(fc) if desc.DSID > 0: print '{} is registered'.format(fc) if desc.DSID < 0: print '{} is not registered'.format(fc)

Étapes pour reproduire

ID de bogue: BUG-000093302

Logiciel:

  • ArcSDE/Enterprise Geodatabase

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement