关于ESRI.ArcGIS.Geoprocessor的几个疑问 淩亂°似流年 2021-11-01 23:42 278阅读 0赞 1. 在AE9.2+Sp6补丁编译的程序 AverageNearestNeighbor avgNearNeighbour = new AverageNearestNeighbor(); avgNearNeighbour.Input\_Feature\_Class = inputString; Input\_Feature\_Class传入IFeatureLayer,不管是本地shape file还是sde feature layer均可以 2. 在AE 9.3.1下 传入的shape file可以正常运行,但是传入sde feature layer IGeoProcessorResult result = (IGeoProcessorResult)gp.Execute(avgNearNeighbour, null); result永远为null,不知道为什么,只好用 Database Connections\\10.1.161.84-cdc.sde\\CDC.公共卫生\\CDC.企事业单位 这样的字符串来解决 有谁知道的话 麻烦和我说声 谢谢! 转载于:https://www.cnblogs.com/threestone/archive/2010/04/18/1714784.html
还没有评论,来说两句吧...