AE Geoprocessor 实现 AnalysisTool Union功能
/// <summary> /// gp实现featureClass的 Analysis Union功能 /// </summary> /// <param name="shp1">featureclass</param> /// <param name="shp2">featureclass</param> public static void UnionShape(string shp1, string shp2) { Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; Union gpUnion = new Union(); //gpUnion.in_features = @"D:\1\1.shp;D:\1\2.shp"; gpUnion.in_features = shp1 + ";" + shp2; gpUnion.out_feature_class = @"D:\temp\result.shp"; gp.Execute(gpUnion, null); }
//GP Edit TIN论坛