arcgis server10.1 gp GetResultMapServiceLayer

根据10.1文档 silverlight 里面提供了新的_geoprocessorTask.GetResultMapServiceLayer方法

研究了一下得知 原来的GetResultImageLayerAsync是需要两部 在jobCompleted里面 GetResultImageLayerAsync 然后在GetResultImageLayerCompleted 里面获取结果

新的GetResultMapServiceLayer 直接就返回一个ArcGISDynamicMapServiceLayer

需要注意的是,如果要使用上述功能需要在发布的服务中参数选项卡中 勾选 查看含地图服务的结果

image

然后产生一个同名的地图服务

image

最后,返回的栅格图好像可以经过渲染再生成,具体的细节好像是在发布Gp的时候通过mxd配置一些东西然后再发布,还没有试验过先记下来。

原文地址:https://www.cnblogs.com/aoldman/p/3210317.html