摘要: 1、查找代码的总行数。按CTRL+SHIFT+F(Findinfiles),勾上支持正则表达式,然后输入搜索内容:^:b*[^:b#/]+.*$2、在VS中复制代码,粘贴到Word等文本文档时出现乱码的问题。 新建VS工程,在Click事件中 执行以下代码 private void button1_... 阅读全文
posted @ 2014-12-03 09:16 zzz_giser 阅读(239) 评论(0) 推荐(0) 编辑
摘要: http://localhost/webviewer/ceviewer_offline.html?3dWebScene=zh.3ws FireFox CEhttp://gis.wuyishan.gov.cn/Wysgis/index.aspxhttp://www.csmap.gov.cn/three... 阅读全文
posted @ 2014-11-03 19:56 zzz_giser 阅读(208) 评论(0) 推荐(0) 编辑
摘要: TerraGate是Skyline系列软件中用来发布MPT地形文件的服务器。一、TerraGate安装注意 TG安装时必须确保 授权文件存在在安装目录中,同时名字也必须确保为“SLTerraGate.lic”,具体原因不明,不然地形服务将不会开启。二、TG具体设置 打开TG选中TerraServ... 阅读全文
posted @ 2014-09-12 10:55 zzz_giser 阅读(996) 评论(0) 推荐(0) 编辑
摘要: MPT是SkyLine三维发布中的地形数据,其中包括了地形的DEM和DOM,能够渲染生成逼真的三维地形。一、数据准备 生成MPT的数据主要包括所属区域的DEM(tif文件)和DOM(tif文件),所以在打开TerraBuilder生成MPT文件之前首先通过ArcGIS制作DEM和DOM。 1... 阅读全文
posted @ 2014-09-12 10:33 zzz_giser 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: object sev = null;//用来标记处理信息 //1-定义GeoProcessor对象 // Geoprocessor gp = new Geoprocessor(); IGeoProcessor2 gp = new GeoProcessorClass(); //2-设置参数 gp.OverwriteOutput = true; //3-设置工具箱所在的路径 gp.AddToolbox(@"E:\Users\zhen... 阅读全文
posted @ 2013-11-04 22:29 zzz_giser 阅读(3860) 评论(0) 推荐(0) 编辑
摘要: ISimpleLinesymbol的使用方法很简单,具体设置一下几个方法参数就可以。MembersDescriptionColorLine symbol color.StyleThe style of the line symbol.WidthLine symbol width.其他简单的ISimpleMarketSymbol与FillSymbol TextSymbol的使用方法与此相似,附加ArcEngine中RGB颜色的设置IRgbColor pcolor = new RgbColorClass(); pcolor.Red = 255; ... 阅读全文
posted @ 2013-11-04 10:16 zzz_giser 阅读(1595) 评论(0) 推荐(0) 编辑
摘要: IFeatureSelection接口由FeatureLayer类实现,主要用来存放用户在该图层中选择的要素,例如一般的属性查图,找到的元素一般放置在IFeatureSelection接口中。具体方法如下:MembersDescriptionAddAdds a feature to the selection set.BufferDistanceBuffer distance used for the selection.ClearClears the selection.CombinationMethodCombination method for the selection.SelectF 阅读全文
posted @ 2013-11-04 09:52 zzz_giser 阅读(2239) 评论(0) 推荐(0) 编辑
摘要: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar >= 48 && e.KeyChar <= 57 || e.KeyChar == 8) { } else { e.Handled = ... 阅读全文
posted @ 2012-12-02 20:52 zzz_giser 阅读(232) 评论(0) 推荐(0) 编辑
摘要: private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { int left = e.CellBounds.Left; int top = e.CellBounds.Top; int right = e.CellBounds.Right; int bottom = e.CellBounds.Bottom; e.Handled = true; //代䨲码?为a绘?制?列¢D标À¨º题¬a 阅读全文
posted @ 2012-08-18 17:10 zzz_giser 阅读(520) 评论(0) 推荐(0) 编辑