调用GP工具
2010-01-13 15:45
239 查看
实例:调用GP工具,DWG转换为SHP,不过好像属性信息没有转换过去。
private void ConvertCAD2Shp(string filePath, string outPutPath)
{
private Geoprocessor gp = null;
gp = new Geoprocessor();
gp.OverwriteOutput = true;
IGPProcess tools = null;
cadtoshpTools = new CADtoFeatureClass();
cadtoshpTools.input_CAD_file = filePath;
cadtoshpTools.output_feature_class = outPutPath;
tools = cadtoshpTools;
ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult result = gp.Execute(tools, null) as
ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult;
}
private void ConvertCAD2Shp(string filePath, string outPutPath)
{
private Geoprocessor gp = null;
gp = new Geoprocessor();
gp.OverwriteOutput = true;
IGPProcess tools = null;
cadtoshpTools = new CADtoFeatureClass();
cadtoshpTools.input_CAD_file = filePath;
cadtoshpTools.output_feature_class = outPutPath;
tools = cadtoshpTools;
ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult result = gp.Execute(tools, null) as
ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult;
}
相关文章推荐
- AE调用GP工具“对COM组件的调用返回了错误 HRESULTE_FAIL”解决
- C#+arcengine调用GP工具实现feature to line 功能
- 最近在ArcGIS Engine开发中关于调用gp工具过程出现COM 组件的调用返回了错误 HRESULT E_FAIL 错误的解决方法 和 学习oracle中遇到的一些问题总结
- AE调用GP工具(很好的ZZ)
- arcgis 调用GP工具com错误
- 调用gp工具把shp、mdb、gdb中的table导入到sde(oracle)中
- AE调用切图GP工具
- 关于调用ArcGIS中GP工具.Erase、SymDiff
- C#+arcengine调用GP工具实现产生随机点的功能
- ArcEngine 调用GP里面的Merge工具
- AE开发中,对 COM 组件的调用返回了错误 HRESULT E_FAIL,在地理处理中,即GP工具处理时出错
- Arcengin调用GP工具“对COM组件的调用返回了错误 HRESULTE_FAIL”解决方法
- ArcGIS Engine中如何调用GP工具(一)
- ArcGIS Engine中如何调用GP工具(二)
- AE调用GP工具“对COM组件的调用返回了错误 HRESULTE_FAIL”解决
- AE调用GP工具
- c# 调用ArcEngine的GP工具
- C#+arcengine调用GP工具实现extract values to points的功能(可以用来高程)
- ArcGIS 调用GP工具 intersect 裁剪导出要素类
- ArcEngine 调用GP样条插值工具,出错