laptop and a wrench

不具合

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

最後に公開された状態: September 22, 2021 ArcGIS API for Python
不具合 ID 番号 BUG-000120523
送信されましたMarch 4, 2019
最終更新日June 5, 2024
適用対象ArcGIS API for Python
見つかったバージョン1.5.3
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスWill Not Be Addressed

参考情報

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.

対処法

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)

再現の手順

不具合 ID: BUG-000120523

ソフトウェア:

  • ArcGIS API for Python

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動