laptop and a wrench

Erro

Analysis variables in the GeoEnrichment service are not acknowledged using ArcGIS API for Python.

Última Publicação: September 22, 2021 ArcGIS API for Python
Número de ID do Erro BUG-000120523
EnviadoMarch 4, 2019
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada1.5.3
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusWill Not Be Addressed

Informações Adicionais

This is a misunderstanding of how the tool works and it need to be clarified. What the user is doing is requesting inputs into two optional parameters. If you know what columns you need specifically, you specify the analysis_variables. If you do not know what columns you need, or you want all variables from a data collection, you specify data_collections. What is happening in this case is that the user is specifying both. This means that they are 1. getting their variables the user wants, then 2. they are requesting the whole data collection because they specify the data_collection variable as well. To fix the issue change the code to: result = enrich(study_areas=[redlands], analysis_variables=variable_list , return_geometry=False ) The team has also updated the GeoEnrichment doc as well.

Solução Provisória

When using this function, the user requests information with two optional parameters. If users know what columns are needed specifically, specify the analysis_variables. If users do not know what columns are needed, or users want all variables from a data collection, specify data_collections.

What is documented in the bug is that the script is specifying both. This means that they are getting their variables the user wants, then they are requesting the whole data collection because they specify the data_collection variable as well.

To fix this issue, change the code to:

result = enrich(study_areas=[redlands], analysis_variables=variable_list , return_geometry=False)

Etapas para Reproduzir

ID do Erro: BUG-000120523

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download