GIS与人工智能是未来GIS的归宿

为我们的世界建模

导航

2010年6月7日

GlobeControl中设置图层基本高程

摘要: ILayer pLayer = new MapOperationClass().GetLayer(MyGlobe, "市区道路L");IGlobeDisplayLayers pGlobeDisplayLayers = MyGlobe.GlobeDisplay as IGlobeDisplayLayers;IGlobeLayerProperties pGlobeLayerProperties = p... 阅读全文

posted @ 2010-06-07 17:19 kisstome88 阅读(538) 评论(0) 推荐(0) 编辑

2010年5月26日

检查某个表是否存在?

摘要: 1.当前用户下是否有某个表select count(*) from user_tables where table_name = 'TABLE_NAME';注意,一般情况下,引号里面的table_name要全部用大写。如果结果为1,表示有这个表,为0表示没有这个表。2.某个用户下是否有某个表?select count(*) from dba_tables where owner = 'USER_N... 阅读全文

posted @ 2010-05-26 16:16 kisstome88 阅读(189) 评论(0) 推荐(0) 编辑

2010年5月1日

C#将图片白色背景设置为透明

摘要: Image image = System.Drawing.Image.FromFile(@"C:\A.JPG");Bitmap pbitmap = new Bitmap(image);pbitmap.MakeTransparent(Color.White);pictureBox1.Image = pbitmap; 阅读全文

posted @ 2010-05-01 21:27 kisstome88 阅读(1851) 评论(2) 推荐(0) 编辑

2010年4月27日

IGlobeViewUtil接口中的方法

摘要: IGlobeViewUtil接口中的方法//地心坐标到地理坐标public void GeocentricToGeographic (double x, double y, double z, ref double pLong_dd,ref double pLat_dd, ref double pElev_meters );//地心坐标到屏幕坐标public void GeocentricToWi... 阅读全文

posted @ 2010-04-27 14:08 kisstome88 阅读(512) 评论(0) 推荐(0) 编辑

2010年4月14日

ArcGlobe不能用的解决办法

摘要: 运行ArcGlobe或ArcScene后出现“3D Analyst extension could not be activated.There is no 3D Analyst licence currently available.”解决办法:把TIN9.lic(ESRI\License\arcgis9x目录下)内容的最后一行拷贝到同目录下的Arc_Info9.lic中... 阅读全文

posted @ 2010-04-14 20:47 kisstome88 阅读(753) 评论(0) 推荐(0) 编辑

2009年8月14日

屏幕坐标向OpenGL坐标转换(转)

摘要: 屏幕坐标向OpenGL坐标转换(转)很多人用OpenGL绘图会遇到一个问题即屏幕坐标向OpenGL坐标转换,在网上流传着如下类似的代码:GLint viewport[4]; GLdouble modelview[16]; GLdouble projection[16]; GLfloat winX, winY, winZ; GLdouble posX, posY, posZ; glGetIntege... 阅读全文

posted @ 2009-08-14 23:58 kisstome88 阅读(2180) 评论(0) 推荐(0) 编辑

AO中接口的一般使用方法(转)

摘要: AO中接口的一般使用方法(转)我们通过实例来学习在AO中接口的使用方法,我们要学的这个实例是在VC 6.0下用ATL创建的一个COM。 COM的创建的主要步骤是: 1.实现esriSystemUI ICommand接口,使用户可以把这个组建模型加入ArcScene或其他工具栏上,在点击这个按钮的时候实现相关操作。 2.创建一个连接点实现ISceneGraphEvents接口事件,并改写fir... 阅读全文

posted @ 2009-08-14 23:54 kisstome88 阅读(801) 评论(0) 推荐(0) 编辑

2009年7月25日

SceneControl加载3DS文件作为符号

摘要: SceneControl加载3DS文件作为符号IGraphicsContainer3D pGC3D = (IGraphicsContainer3D)SC1.Scene.BasicGraphicsLayer;pGC3D.DeleteAllElements();IPoint pPoint = new PointClass();((IZAware)pPoint).ZAware = true;pPoint... 阅读全文

posted @ 2009-07-25 23:38 kisstome88 阅读(986) 评论(5) 推荐(0) 编辑

在SceneControl中创建3D符号而不是单纯的2D

摘要: 在SceneControl中创建3D符号而不是单纯的2D IGraphicsContainer3D pGC3D = (IGraphicsContainer3D)SC1.Scene.BasicGraphicsLayer;pGC3D.DeleteAllElements();IRgbColor pColor = new RgbColorClass();pColor.Red = 255;IPoint pP... 阅读全文

posted @ 2009-07-25 23:04 kisstome88 阅读(595) 评论(3) 推荐(0) 编辑

2009年7月21日

在SceneControl中实现ArcMap中的柱状图

摘要: 在SceneControl中实现ArcMap中的柱状图IRasterLayer pTinLyr = new RasterLayerClass();pTinLyr = (IRasterLayer)SC1.Scene.get_Layer(1);IRaster pRaster = pTinLyr.Raster;IFeatureLayer pFeatureLyr = (IFeatureLayer)SC1.... 阅读全文

posted @ 2009-07-21 19:11 kisstome88 阅读(1295) 评论(4) 推荐(0) 编辑