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论坛

http://forums.arcgis.com/threads/57195-Analyst3DTools.EditTin-doesn-t-Edit-TinSurface?p=196648#post196648

posted on 2012-05-09 11:17  imihiro  阅读(712)  评论(0编辑  收藏  举报