laptop and a wrench

Bogue

The 'unit' argument is not honored when using arcgis.geometry.buffer.

Dernière publication: July 5, 2019 ArcGIS API for Python
Numéro d’ID de bogue BUG-000123291
EnvoiJune 24, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.6
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction2.0.0
StatutFixed

Solution de contournement

The source of the problem is a minor error in the 1.6.1 source code for the buffer function in /arcgis/_impl/tools.py.

On line 5559:

params['units'] = unit

Correct to:

params['unit'] = unit

This update resolves the aforementioned problems and requests to /geometry are properly handled.

Étapes pour reproduire

ID de bogue: BUG-000123291

Logiciel:

  • ArcGIS API for Python

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