ArcGIS Engine -- 常用方法
Posted 苹果味
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ArcGIS Engine -- 常用方法相关的知识,希望对你有一定的参考价值。
空间关系
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
计算范围
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
查询
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
查找图层
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
选择要素集
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
加载数据
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
新建shapefile文件/GDB
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
将选中要素另存至GDB
另存为shapefile类似,修改workspacefactory为ShapefileWorkspaceFactoryClass,修改对应路径即可。
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
编辑
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
label
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
GP
转换cad时,从shp转换cad不成功,从gdb中转换成功,原因不知。
GP:createCadXData需要在转换cad之前执行,给cad添加扩展属性
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
地图显示/刷新
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
Element
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
![](https://image.cha138.com/20210610/acbcbf1102364ed2a431b96725a7f3dd.jpg)
以上是关于ArcGIS Engine -- 常用方法的主要内容,如果未能解决你的问题,请参考以下文章
《ArcGIS Engine+C#实例开发教程》第五讲 鹰眼的实现