laptop and a wrench

Bug

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

Last Published: July 5, 2019 ArcGIS API for Python
Bug ID Number BUG-000123291
SubmittedJune 24, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.6
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.0.0
StatusFixed

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000123291

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options