Exemple #1
0
        //用反距离权重插值(IDW)到Raster
        static public bool Interpolate2RasterIDW(Geoprocessor gp, string pathIn, string pathOut)
        {
            ESRI.ArcGIS.Analyst3DTools.Idw idw = new ESRI.ArcGIS.Analyst3DTools.Idw();
            idw.cell_size         = 1;
            idw.z_field           = "Shape";
            idw.in_point_features = pathIn;
            idw.out_raster        = pathOut;

            return(RunTool(gp, idw, null));
        }
        //用反距离权重插值(IDW)到Raster
        public static bool Interpolate2RasterIDW(Geoprocessor gp, string pathIn, string pathOut)
        {
            ESRI.ArcGIS.Analyst3DTools.Idw idw = new ESRI.ArcGIS.Analyst3DTools.Idw();
            idw.cell_size = 1;
            idw.z_field = "Shape";
            idw.in_point_features = pathIn;
            idw.out_raster = pathOut;

            return RunTool(gp, idw, null);
        }