arcgis api for flex 开发入门(八)GP服务的使用


在arcgis api for flex中esri还为我们提供了GP服务,在ARCGISONLINE 上的gp
服务有CreateDriveTimePolygons和Viewshed,下面我们以
CreateDriveTimePolygons服务为例来看看在arcgis api for flex中如何使用GP
服务。
首先使用    <esri:Geoprocessor >标签创建一个gp服务,url指向提供gp服务的
地址。
<esri:Geoprocessor        id="gp"        
url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Network
/ESRI_DriveTime_US/GPServer/CreateDriveTimePolygons"        />
剩下的步骤和上一讲Geometry service的使用基本相同,即设置参数,调用gp服
务,得到结果,表现结果。
完整代码:
Code
原文地址:http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=35700&extra=page%3D4%26amp%3Borderby%3Ddateline
posted @ 2009-06-02 15:02  温景良(Jason)  Views(2428)  Comments(0Edit  收藏  举报