Numéro d’ID de bogue |
BUG-000162267 |
Envoi | October 20, 2023 |
Dernière modification | June 25, 2025 |
S’applique à | ArcGIS API for Python |
Version trouvée | 2.1.0 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 |
Statut | Non-Reproducible
Ce problème n’a pas pu être reproduit au cours des tests réalisés par l’équipe de développement. Ce statut peut être attribué aux problèmes qui sont impossibles à reproduire ou qui ne sont plus d’actualité dans une version de développement du logiciel, alors qu’aucun correctif spécifique n’a été installé pour résoudre le problème. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
The issue is not reproducible in ArcGIS API for Python version 2.2.0.1. Update to ArcGIS API for Python version 2.2.0.1.
gis = GIS(
profile='your_login_profile')
fp = r"C:\data\OverwriteAPI.gdb.zip"
item = gis.content.add(
{
"title": "overwrite_test",
"type": "File Geodatabase",
},
data=fp,
)
pitem = item.publish()
# add new data to the file geodatabase listed above in ArcGIS Pro.
#
flc = FeatureLayerCollection.fromitem(item)
mgr = flc.manager
mgr.overwrite(data_file=fp)
After updating to ArcGIS API for Python version 2.2.0.1, the new feature data added to the file geodatabase is re-zipped and provided to the overwrite method to allow the data to be updated.
This method is tested in ArcGIS Online and ArcGIS Enterprise with no issues on any platform.
Étapes pour reproduire
ID de bogue: BUG-000162267
Logiciel: