Exemplo n.º 1
0
 //用自然邻域插值(NN)到Raster
 static public bool Interpolate2RasterNN(Geoprocessor gp, string pathIn, string pathOut)
 {
     ESRI.ArcGIS.Analyst3DTools.NaturalNeighbor nn = new ESRI.ArcGIS.Analyst3DTools.NaturalNeighbor();
     nn.cell_size         = 1;
     nn.in_point_features = pathIn;
     nn.out_raster        = pathOut;
     nn.z_field           = "Shape.Z";
     return(RunTool(gp, nn, null));
 }
Exemplo n.º 2
0
 //用自然邻域插值(NN)到Raster
 public static bool Interpolate2RasterNN(Geoprocessor gp, string pathIn, string pathOut)
 {
     ESRI.ArcGIS.Analyst3DTools.NaturalNeighbor nn = new ESRI.ArcGIS.Analyst3DTools.NaturalNeighbor();
     nn.cell_size = 1;
     nn.in_point_features = pathIn;
     nn.out_raster = pathOut;
     nn.z_field = "Shape.Z";
     return RunTool(gp, nn, null);
 }