摘要: 取出一个图层的symbol 在其基础上对其进行修改 private void button1_Click(object sender, EventArgs e) { mp;nbsp; //设定要改变symbol的图层 ILayer pLayer=m_mapControl.get_Layer(0); 阅读全文
posted @ 2016-10-17 16:10 虚-染D 阅读(1146) 评论(0) 推荐(1) 编辑
摘要: 在AO中使用Geoprocessor(ESRI.ArcGIS.Geoprocessor) 1。观察arcmap中的使用方法,明确各参数意义。 2。arctoolbox中参数对应为features/feature layer的(即需要在下拉菜单中选择,需要首先加载到arcmap上的),首先使用Make 阅读全文
posted @ 2016-10-17 16:08 虚-染D 阅读(498) 评论(0) 推荐(0) 编辑
摘要: public void AddSDELayer(bool ChkSdeLinkModle) { //< span style="color: #008000;">定义一个属性 < ;/span> IPropertySet Propset = new PropertySetClass(); if (C 阅读全文
posted @ 2016-10-17 16:08 虚-染D 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 空间关系 计算范围 查询 查找图层 选择要素集 加载数据 新建shapefile文件/GDB 将选中要素另存至GDB 另存为shapefile类似,修改workspacefactory为ShapefileWorkspaceFactoryClass,修改对应路径即可。 编辑 label GP 转换ca 阅读全文
posted @ 2016-10-17 16:02 虚-染D 阅读(405) 评论(0) 推荐(0) 编辑
摘要: //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().Assembly.Location; result: X:\xxx\xxx\xxx.exe (.exe文件所在的目录+.exe文件名) //获取新的 Process 组件并将其与当前活动的进程关联的主模块的完整路径,包含文件名(进程名)。 string str = System.Diag... 阅读全文
posted @ 2016-10-17 11:08 虚-染D 阅读(31395) 评论(0) 推荐(7) 编辑