引用模型,使用.NET的反射技术,把模型转换为类
直接实例化类,然后用以下几行代码即可!
Geoprocessor gp = new Geoprocessor();
            getStreamNet.streamNet pstreamNet = new streamNet();
            pstreamNet.tingrid2 = @"E:\ss\tingrid";
            pstreamNet.Input_raster_or_constant_value_2 = 1000;
            pstreamNet.Output_polyline_features = @"C:\sss.shp";
            IGeoProcessorResult pGeoProcessorR = gp.Execute(pstreamNet, null) as IGeoProcessorResult;

相关文章:

  • 2021-11-23
  • 2021-06-18
  • 2022-01-20
  • 2022-02-01
  • 2022-12-23
  • 2023-03-25
  • 2021-07-02
猜你喜欢
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-12-27
  • 2022-12-23
  • 2021-06-16
相关资源
相似解决方案