When defining a function in Python that contains a Spatial Analyst tool, the output is saved to the default geodatabase in ArcGIS Pro rather than in the workspace set in the main function.
上次发布: October 16, 2018ArcGIS Pro
漏洞 ID 编号
BUG-000117187
已提交
October 2, 2018
上次修改时间
June 25, 2025
适用范围
ArcGIS Pro
找到的版本
2.2.2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
Set the workspace in the function before the Spatial Analyst tool.