读书人

使用FeatureClassToFeatureClass类时

发布时间: 2012-02-03 22:02:47 作者: rapoo

使用FeatureClassToFeatureClass类时,如何控制输出的Attribute
我的源文件是一个.dwg文件 使用arcmap里面toolbox的工具时 可以删除我不想要的attribute项
在engine中如何实现?
还有一个问题 featureclasstofeatureclass 类中 使用SQL语句

[解决办法]
在AE可以使用GP工具实现:

C# code
ESRI.ArcGIS.Geoprocessor.Geoprocessor pGP = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); ESRI.ArcGIS.ConversionTools.FeatureClassToFeatureClass pFeattoFeat = new ESRI.ArcGIS.ConversionTools.FeatureClassToFeatureClass();//设置参数,比如pFeattoFeat.where_clause=""; pGP.Execute(pFeattoFeat, null); 

读书人网 >行业软件

热点推荐