laptop and a wrench

漏洞

The StageService_server function fails on CreateGPSDDraft of the Extract Data (Server) tool result outside of ArcGIS Pro, returning ERROR 001249.

上次发布: April 22, 2022 ArcGIS API for Python
漏洞 ID 编号 BUG-000146786
已提交February 10, 2022
上次修改时间April 17, 2024
适用范围ArcGIS API for Python
找到的版本1.9.1
操作系统Windows OS
操作系统版本11.0
状态In Product Plan

解决办法

During staging, it cannot reach the source of the layers in the project map when the script is not running in the project that has the source layers. The workaround is to use the MakeFeatureLayer function to make real layers and pass the variables to the ExtractData function like to code sample below: arcpy.management.MakeFeatureLayer(layers[0], Layers_to_Clip) Area_of_Interest = "Area_of_Interest" arcpy.management.MakeFeatureLayer(layers[1], Area_of_Interest) result = arcpy.server.ExtractData(Layers_to_Clip, Area_of_Interest, "File Geodatabase - GDB - .gdb", "ESRI GRID - GRID", "Same As Input", None, outputfile)

重现步骤

漏洞 ID: BUG-000146786

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项