
arcengine
宜臶瑏芯
所有转载内容均为网上发现的精华内容,不包含本人的个人观点。如有侵权请告知,即删。
展开
-
C#+ArcEngine加载shape、栅格、access、mxd文件
http://wenku.baidu.com/view/8495427558fafab069dc02a3.html这个是百度文库里一篇比较详细的C#,AE打开各种文件的代码。我没有用//分文件路径,其实也是一样的。一开始不知道ArcEngine简称AE,去搜engine打开各种文件居然都找不到,有一次搜C#打开各种文件才恍悟。打开access时总是提示未将对象引用设置到对象的实例,仔细检查后是 p...转载 2018-02-28 10:32:08 · 944 阅读 · 0 评论 -
ArcGIS Engine打开文件夹中的DBF数据表
private void button3_Click(object sender, EventArgs e){ string vectorFileFullName = txtvectorFileFullName.Text; //dbf全路径 IWorkspaceFactory pWorkspaceFactory = new ShapefileWorkspaceFactory(...原创 2018-12-19 15:37:06 · 3165 阅读 · 0 评论 -
创建文本注记TextElement
private void axMapControl1_OnMouseDown(object sender, IMapControlEvents2_OnMouseDownEvent e) { stdole.IFontDisp font = new stdole.StdFontClass() as stdole.IFontDisp; ...原创 2018-12-02 11:55:18 · 528 阅读 · 1 评论 -
C#+AE地图文档的相关操作,包括新建打开保存等
public static bool NewMxdFile(string filePath)//新建工作空间 { try { string tmp_fileName = filePath; IMapDocument pMapDocument = new MapDocum...转载 2018-09-25 20:37:44 · 1282 阅读 · 0 评论 -
C#+arcgine 实现 颜色和颜色带操作以及方法
using ESRI.ArcGIS.Display; public static IRgbColor GetIColor(int r, int g, int b)//通过rgb值获得IColor { if (r > 255 || g > 255 || g > 255) { Me...原创 2018-09-25 20:34:20 · 2215 阅读 · 0 评论 -
arcengine 使用gp 实现union功能
Geoprocessor geoprocessor = new Geoprocessor(); geoprocessor.OverwriteOutput = true; ESRI.ArcGIS.AnalysisTools.Union union = new ESRI.ArcGIS.AnalysisTools.Union(); ...原创 2018-06-01 17:20:22 · 1996 阅读 · 0 评论 -
Arcengine插入文字和图片
#region 插入文字 //IFontDisp font = new stdole.StdFontClass() as stdole.IFontDisp; //font.Name = "宋体"; //font.Bold = true; //font.Size = 50; //...原创 2018-06-11 17:42:25 · 2133 阅读 · 0 评论 -
ArcGIS Engine 10.0版本生成exe如何在10.1、10.2版本环境下运行
废话不说 看图原创 2018-04-19 13:58:08 · 1617 阅读 · 0 评论 -
AE中 ClassFactory 无法供应请求的类
C#开发ArcEngine中最简单的一个例子MapViewer,出现了这种错误“System.Runtime.InteropServices.COMException”类型的未经处理的异常在 System.Windows.Forms.dll 中发生其他信息: ClassFactory 无法供应请求的类 (异常来自 HRESULT:0x80040111 (CLASS_E_CLASSNOTAV转载 2018-04-16 18:16:15 · 5732 阅读 · 1 评论 -
遍历axMapControl选择要素
private void button1_Click(object sender, EventArgs e) { if (axMapControl_UseLayer.LayerCount < 1) { MessageBox.Show("请选择裁剪图层"); r...转载 2018-04-16 17:52:20 · 999 阅读 · 0 评论 -
通过rgb值获得IColor
private IRgbColor GetIColor(int r, int g, int b)//通过rgb值获得IColor { if (r > 255 || g > 255 || g > 255) { MessageBox.Show("rgb值在0到255之间,包...原创 2018-04-16 17:49:09 · 788 阅读 · 0 评论 -
分区统计到dbf表
private void button2_Click(object sender, EventArgs e){ Geoprocessor geoprocessor = new Geoprocessor(); geoprocessor.OverwriteOutput = true; ESRI.ArcGIS.SpatialAnalystTools.ZonalStatistic...原创 2018-12-19 15:45:28 · 535 阅读 · 3 评论