漏洞 ID 编号 |
BUG-000149869 |
已提交 | June 9, 2022 |
上次修改时间 | October 8, 2024 |
适用范围 | ArcGIS GIS Server |
找到的版本 | 10.6.1 |
操作系统 | Windows Server |
操作系统版本 | 2019 64 Bit |
修正版本 | 3.4 |
状态 | Non-Reproducible
在开发团队测试过程中,此问题不可重现。 为问题分配此状态的可能原因包括:问题无法重现,或不再与软件的开发版本相关,但未安装特定修复程序来解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
This looks to have been a geoprocessing tool compatibility problem with the Locate Features Along Routes tool introduced in ArcGIS Pro 2.9.
解决办法
1. Do the following when publishing from ArcGIS Pro:
- Remove the "\\" in LOCATE_RESULT_TABLE = "\\LocateFeaturesAlongRoutesGD2". Then change the parameter value arcpy.env.scratchGDB + LOCATE_RESULT_TABLE of the function LocateFeaturesAlongRoutes_lr to os.path.join(arcpy.env.scratchGDB, LOCATE_RESULT_TABLE).
- Use r"c:\..." expression instead of "c:\\..." expression for the first two parameters of the function LocateFeaturesAlongRoutes_lr.
2. If using the original script, try publishing from ArcMap.
重现步骤