//执行简单克吕金插值 private void InterpolationSimpleKriging_Click(object sender, RoutedEventArgs e) { ClearLayers(); MyProgressBar.Storyboard1.Begin(); MyProgressBar.Visibility = Visibility.Visible; InterpolationKrigingAnalystParameters param = new InterpolationKrigingAnalystParameters(); param.Dataset = "SamplesP@Interpolation"; param.Bounds = new Rectangle2D(-2640403.6321084504, 1873792.1034850003, 3247669.390292245, 5921501.395578556); param.OutputDataset = "SimpleKriging"; param.Type = InterpolationAlgorithmType.SimpleKriging; param.PixelFormat = PixelFormat.DOUBLE; param.SearchMode = SearchMode.KDTREE_FIXED_COUNT; param.SearchRadius = 0; param.Mean = 11.6005; param.ZValueFieldName = "AVG_TMP"; InterpolationAnalystService service = new InterpolationAnalystService(url); service.ProcessCompleted += new EventHandler<InterpolateAnalystArgs>(processCompleted); service.Failed += new EventHandler<ServiceFailedEventArgs>(excuteErrors); service.ProcessAsync(param); }