漏洞
| 漏洞 ID 编号 | BUG-000120523 |
|---|---|
| 已提交 | March 4, 2019 |
| 上次修改时间 | June 5, 2024 |
| 适用范围 | ArcGIS API for Python |
| 找到的版本 | 1.5.3 |
| 操作系统 | N/A |
| 操作系统版本 | N/A |
| 状态 | Will Not Be Addressed |
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 专家的帮助
下载 Esri 支持应用程序