laptop and a wrench

Error

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

Última publicación: October 29, 2021 ArcGIS API for Python
Número de ID del error BUG-000135036
EnviadoOctober 30, 2020
Última modificaciónFebruary 20, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.8.1
Sistema operativoWindows OS
Versión de sistema operativo2019 64 Bit
EstadoWill Not Be Addressed

Información adicional

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().

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000135036

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga