Esempio n. 1
0
 //用样条函数插值(Spline)到Raster默认方法
 static public void Interpolate2RasterSpline(Geoprocessor gp, string pathIn, string pathOut)
 {
     ESRI.ArcGIS.Analyst3DTools.Spline spline = new ESRI.ArcGIS.Analyst3DTools.Spline();
     spline.in_point_features = pathIn;
     spline.out_raster        = pathOut;
     spline.z_field           = "Shape.Z";
     spline.spline_type       = "REGULARIZED";
     RunTool(gp, spline, null);
 }
Esempio n. 2
0
        //用样条函数插值(Spline)到Raster选择参数
        static public bool Interpolate2RasterSpline(Geoprocessor gp, string pathIn, string pathOut, string SplineType)
        {
            ESRI.ArcGIS.Analyst3DTools.Spline spline = new ESRI.ArcGIS.Analyst3DTools.Spline();

            if (SplineType == "正规化")
            {
                spline.spline_type = "REGULARIZED";
            }
            else
            {
                spline.spline_type = "TENSION";
            }
            spline.in_point_features = pathIn;
            spline.out_raster        = pathOut;
            spline.z_field           = "Shape.Z";
            return(RunTool(gp, spline, null));
        }
Esempio n. 3
0
        //用样条函数插值(Spline)到Raster选择参数
        public static bool Interpolate2RasterSpline(Geoprocessor gp, string pathIn, string pathOut, string SplineType)
        {
            ESRI.ArcGIS.Analyst3DTools.Spline spline = new ESRI.ArcGIS.Analyst3DTools.Spline();

            if (SplineType == "正规化")
            {
                spline.spline_type = "REGULARIZED";
            }
            else
            {
                spline.spline_type = "TENSION";
            }
            spline.in_point_features = pathIn;
            spline.out_raster = pathOut;
            spline.z_field = "Shape.Z";
            return RunTool(gp, spline, null);
        }
Esempio n. 4
0
 //用样条函数插值(Spline)到Raster默认方法
 public static void Interpolate2RasterSpline(Geoprocessor gp, string pathIn, string pathOut)
 {
     ESRI.ArcGIS.Analyst3DTools.Spline spline = new ESRI.ArcGIS.Analyst3DTools.Spline();
     spline.in_point_features = pathIn;
     spline.out_raster = pathOut;
     spline.z_field = "Shape.Z";
     spline.spline_type = "REGULARIZED";
     RunTool(gp, spline, null);
 }