If the final output of a geoprocessing service is a feature layer and the 'View results with a Map Service' option is enabled, the output of the task is the original input dataset.
上次发布: April 7, 2016ArcGIS for Server
漏洞 ID 编号
BUG-000095436
已提交
March 31, 2016
上次修改时间
June 5, 2024
适用范围
ArcGIS for Server
找到的版本
10.2.2
操作系统
Windows OS
操作系统版本
2008 R2 64 Bit
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is due to the fact that a feature layer cannot be published as a map service.
If one were to run a geoprocessing tool in ArcMap whose output is a feature layer, add the result to the map, remove the input dataset from the map and then attempt to publish, there will be an error prior to publishing that states "a selection layer cannot be published." When this same workflow is performed within a geoprocessing service and the result is viewed as a map service it succeeds, but due to the fact that feature layers cannot become map services, the original input dataset is displayed as the output viewed as a map service.
This is a workflow limitation.
解决办法
- Set the output of the model/script to be a feature class instead of a feature layer.
Or
- Disable the 'View results with a Map Service' option.