摘要:
ArcGlobe的强大与魅力深深地吸引着许多3DGIS初学者和开发者,现总结部分常用代码,贴出来以备大家参考,不妥之处请各位指正, 1.向ArcGlobe控件中通过类型来添加图层public void AddGlobeLayerByType(ESRI.ArcGIS.GlobeCore.IGlobe globe,ESRI.ArcGIS.GlobeCore.esriGlobeLayerType globeLayerType, ESRI.ArcGIS.Carto.ILayer layer) { if (globe == null) return; if (globeLayerType ==ESR.. 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using ESRI.ArcGIS.Carto;using ESRI.ArcGIS.Controls;using ESRI.ArcGIS.SystemUI;using ESRI.ArcGIS.Output;using ESRI.ArcGIS.Display;using ESRI.Ar 阅读全文
摘要:
GPS数据导入计算机后,有多种格式,易于处理、易于识别的就是TXT和CSV格式,在本文中我处理的是TXT格式。建立Shapefile和处理TXT数据都比较简单,后面我就只贴代码(代码里有详细注释),不讲原理了。主代码: public static void CreateShpfromTXT(IMapControl3 map_control,progressFrm progressfrm) { ProgressBar progressBar1 = progressfrm.progressBar1; OpenFileDialog openDia = new OpenFileDialog(); op 阅读全文