Generating offline areas through ArcGIS API for Python fails when a minimum and maximum scale is set, and the web map is using the OpenStreetMap basemap. The error message, "UnboundLocalError: local variable 'layer0_obj' referenced before assignment" is returned.
上次发布: October 18, 2022ArcGIS API for Python
漏洞 ID 编号
BUG-000152778
已提交
October 4, 2022
上次修改时间
June 5, 2024
适用范围
ArcGIS API for Python
找到的版本
2.0.1
操作系统
Windows OS
操作系统版本
10.0
修正版本
Q1 2023
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Do not set a min_scale or max_scale value in the script.
Use the World Topographic basemap instead of the OpenStreetMap basemap.