laptop and a wrench

Bug

arcgis.geocoding.geocode_from_items fails if the output type is set to 'Feature Layer'.

Last Published: October 29, 2021 ArcGIS API for Python
Bug ID Number BUG-000135036
SubmittedOctober 30, 2020
Last ModifiedFebruary 20, 2025
Applies toArcGIS API for Python
Version found1.8.1
Operating SystemWindows OS
Operating System Version2019 64 Bit
StatusWill Not Be Addressed

Additional Information

The CSV or XLS file must be validated before geocoding. Run analyze_geocode_input() or publish the file manually to identify if the portal can find which (address) columns to use for geocoding. Additionally, the geocode_parameters argument must be provided for field mapping between columns of the file and the columns of the feature layer in order to publish using geocode_from_items().

Workaround

  • Change the output_type parameter to XLS or CSV.
  • Use the arcgis.geocoidng.batch_geocoding method.

Steps to Reproduce

Bug ID: BUG-000135036

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