string url = "http://localhost:6080/arcgis/rest/services/CalculateSynchNoOut/GPServer/CalculateSynchNoOut"; Geoprocessor geoprocessorTask = new Geoprocessor(url); geoprocessorTask.ExecuteCompleted += new EventHandler<GPExecuteCompleteEventArgs>(geoprocessorTask_ExecuteCompleted); geoprocessorTask.Failed += new EventHandler<TaskFailedEventArgs>(geoprocessorTask_Failed); geoprocessorTask.OutputSpatialReference = Map.SpatialReference; List<GPParameter> parameters = new List<GPParameter>(); parameters.Add(new GPString("Expression", "OBJECTID=19974")); geoprocessorTask.ExecuteAsync(parameters);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.