你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
朱新颖
赞同来自: williamed
williamed - GISer进行中
赞同来自:
要回复问题请先登录或注册
GISer进行中
2 个回复
朱新颖
赞同来自: williamed
Geoprocessor GP = new Geoprocessor();
ESRI.ArcGIS.DataManagementTools.CreateFishnet pFishnet = new ESRI.ArcGIS.DataManagementTools.CreateFishnet();
pFishnet.cell_height = 0;
pFishnet.cell_width = 0;
pFishnet.number_columns = 50;
pFishnet.number_rows = 50;
pFishnet.out_feature_class = @"D:\test\test.gdb\createFish";
pFishnet.origin_coord = "1637536.51 1215992.6167";
pFishnet.y_axis_coord = "1637536.51 1216002.6167";
pFishnet.corner_coord = "1637945.0369 1216870.9581";
GP.OverwriteOutput = true;
try
{
GP.Execute(pFishnet, null);
}
catch (Exception ex)
{
// Print geoprocessing execution error messages.
for (int i = 0; i < GP.MessageCount; i++)
MessageBox.Show(GP.GetMessage(i));
}
williamed - GISer进行中
赞同来自:
要回复问题请先登录或注册
发起人
GISer进行中
相关问题
问题状态