Arcgis Engine
阔活洵信
WHUER、GISER
展开
-
查询时出错 An expected Field was not found or could not be retrieved properly. [SHAPE.AREA] 解决方法
本来做的事情是将SDE中任意范围内的要素按查询条件导出到文件地理数据库,最初使用的是IFeatureDataConverter接口的ConvertFeatureClass方法,可是后来发现这个方法不支持注记要素类的导出,且会将其变成多边形要素。于是想到按几何查询条件将一个个要素写入到新建的要素类中,实现代码如下:IFeatureClass targetFeatureClass = (targe原创 2014-01-03 10:27:30 · 3205 阅读 · 0 评论 -
IFeatureBuffer.set_Value出现错误:“object”未包含“set_Value”的定义
这是个奇哉怪也的问题,使用Arcgis Engine中IFeatureBuffer接口pAddFeatureBuffer.set_Value(j, pAddFeature.get_Value(pF1));会出现错误出现错误:“object”未包含“set_Value”的定义。但是使用下面的代码就可以object value = pAddFeature.get_Value(pF1);p原创 2014-01-03 10:44:44 · 2494 阅读 · 2 评论 -
the application is not licensed to create or modify schema for this type of data
在使用Arcgis Engine在SDE中创建或者删除要素类要素集时,会出现标题的错误:the application is not licensed to create or modify schema for this type of data网上有挺多文章的,不过都是针对arcgis 9.x的授权方式的,在10.x中情况略有不同ESRI.ArcGIS.RuntimeManager.B原创 2016-06-21 11:22:19 · 2439 阅读 · 1 评论