随笔分类 -  GIS

象牛的GIS学习笔记
摘要:IUniqueValueRenderer pUniqueValueRenderer = pFeatureLayer.Renderer as IUniqueValueRenderer;ISymbol pSymbol = pUniqueValueRenderer.get_Symbol("某个值"); 阅读全文
posted @ 2013-02-20 19:55 象牛 阅读(557) 评论(0) 推荐(0)
摘要:You need to use an ISegmentCollection and add the ILIne to it, see the example below.' ---- Assumes pLine exists as an ILine ----Dim pSegColl as ISegmentCollectionSet pSegColl = New PolylinepSegColl .AddSegment pPlineDim pPolyline As IPolylineSet pPolyline = pSegColl' ---- You can now use pP 阅读全文
posted @ 2013-02-20 18:56 象牛 阅读(846) 评论(0) 推荐(0)
摘要:This example implements a simple tool for rotating graphics.Dim m_pRotateTracker As IRotateTrackerDim m_pSelElem As IElementPrivate Sub UIToolControl1_Select() Set m_pRotateTracker = New RotateTrackerEnd SubPrivate Function UIToolControl1_Deactivate() As Boolean If Not m_pRotateTracker Is Nothing .. 阅读全文
posted @ 2013-01-24 19:07 象牛 阅读(844) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using ESRI.ArcGIS.Carto;using ESRI.ArcGIS.Geodatabase;using ESRI.ArcGIS.Geometry;using ESRI.ArcGIS.Display;using ESRI.ArcGIS 阅读全文
posted @ 2013-01-14 22:59 象牛 阅读(2184) 评论(7) 推荐(0)
摘要:https://code.google.com/p/maptiledownloader/ 全能电子地图下载器 阅读全文
posted @ 2012-08-06 16:09 象牛 阅读(167) 评论(0) 推荐(0)
摘要:Flow Accumulation:汇流分析。在地表径流模拟过程中,汇流累积量是基于水流方向数据计算而来的。对每一个栅格来说,其汇流累积量的大小代表着其上游有多少个栅格的水流方向最终汇流经过该栅格,汇流累积的数值越大,该区域越易形成地表径流。 阅读全文
posted @ 2011-12-01 11:08 象牛 阅读(395) 评论(0) 推荐(0)
摘要:这两个功能,和全图一样简单,也是继承CommandBase基类 public override void OnClick() { //Get IEnvelope interface IEnvelope pEnvelope = (IEnvelope)m_pActiveView.FullExtent; //Expand envelope and refresh the view pEnvelope.Expand(0.75, 0.75, true); m_pActiveView.Extent = pEnvelope; m_pActiveView.Refresh(); } pEnvelope 是当前的 阅读全文
posted @ 2011-08-14 19:48 象牛 阅读(2575) 评论(0) 推荐(0)
摘要:Error: The computer you chose is not a valid license serverError MessageWhen selecting a License Manager server in the Desktop Administrator, even though the hostname/IP address is correct, the following error message displays: "The computer you chose is not a valid license server". CauseT 阅读全文
posted @ 2011-07-19 22:44 象牛 阅读(4137) 评论(0) 推荐(0)
摘要:sde版本9.3,oracle 的版本最好是 10.2 就是 R2,如果是10.1的话会很麻烦(我没有装成功)几个容易忘记的地方:catalog的连接时的设置:Server:安装SDE的主机名Service:SDE的服务名Database:Oracle实例名(默认为 orcl )UserName:安装SDE时设定的用户名( 默认为 sde )Password:对应 sde 的密码 经常出现的错误: 1. entry for sde instance not found in services file ① 在客户机“C:\WINDOWS\SYSTEM32\DRIVERS\ETC”文件夹... 阅读全文
posted @ 2011-07-19 16:24 象牛 阅读(2108) 评论(0) 推荐(0)
摘要:初次使用 ArcGIS 10 中文版的用户会有可能会有以下问题:ArcGIS 10 下中英文可以自由来回切换么?为了方便用户的使用,ArcGIS Desktop 10 提供了便利的中英文切换界面。只要您安装了ArcGIS 10 中文语言包,那么您就可以根据需要在 ArcGIS Administrator 下进行切换。具体操作步骤如下:(1)安装中文语言包的方法有两种 直接运行 DVD 安装光盘中的 ESRI.exe。系统会自动识别您的操作系统设置安装正确的中文版本。 如果之前您已安装了ArcGIS 10 的英文正式版,那么您也可选择性地运行<CD Root>\Desktop\Sup 阅读全文
posted @ 2011-05-24 20:25 象牛 阅读(9385) 评论(0) 推荐(0)
摘要:将 map 和 MapResourceManager 添加到页面,配置MapResourceManager的数据源之后运行出现如下错误:“执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 ” 图如下:解决方法:不要将 map 和 MapResourceManager 放在一个 div 里面。将 map 放在一个单独的 div 里,指定该 div 的大小,将map默认的高宽Height="400px" Width="400px"改为Height="100%" Widt 阅读全文
posted @ 2011-04-09 10:34 象牛 阅读(1170) 评论(0) 推荐(0)
摘要:1用户名问题在GIS Server PostInstall过程中会涉及到两个用户,默认情况下一个ArcGISSOM,一个是ArcGISSOC,如果用户按照默认情况下进行的话,系统就会给你创建这两个用户,而一般情况下,用户都以自己常见的身份登陆,而不会使用ArcGISSOM用户登录,所以会给后续的很多操作带来麻烦。所以在GIS Server Post Install过程中,建议使用自己常见的用户来进行。2 Post Install问题ArcGIS Server中有两个postinstall,一个是GIS Server PostInstall,一个是Web Application PostInst 阅读全文
posted @ 2011-04-07 15:23 象牛 阅读(518) 评论(0) 推荐(0)
摘要:马拉戈壁的,弄了好几天。。。1.首先是:装完 server 之后,还要装Web Application PostInstall ArcGIS Server中有两个postinstall,一个是GIS Server PostInstall,一个是Web Application PostInstall. GIS Server PostInstall因为在安装过程中自动弹出,所以一般都会做,不会忘记。而Web Application PostInstall是需要自己主动去做的,所以很多人都会忘记做这个。而Web Application PostInstall没有做的后果就是以internet方式连接 阅读全文
posted @ 2011-04-07 15:15 象牛 阅读(1634) 评论(1) 推荐(1)
摘要:导致这个错误的原因很多。。。一般是选择了某项功能,但是相应的配置没有设置好。我遇到的是如果选择了 “Feature Access” 则报错。原因是我的 .mxd 数据源格式为 shape ,feature access 功能要求数据源为SDE管理的数据。 阅读全文
posted @ 2011-04-03 15:11 象牛 阅读(3891) 评论(3) 推荐(0)
摘要:%userprofile% \Application Data\ESRI\ArcToolbox\CustomTransformations将上述代码拷到资源管理器地址栏里回车,然后删除相应的文件即可删除以前定义的geographic transformation注:即删除用户配置文件夹下的记录。比如:C:\Documents and Settings\Administrator\Application Data\ESRI\ArcToolbox\CustomTransformations 阅读全文
posted @ 2011-03-12 13:57 象牛 阅读(1948) 评论(0) 推荐(0)
摘要:安装之后,发布地图服务时候出现错误代码,经试验发觉是因为地图文件夹没有共享的原因。操作方法如下:进入文件夹查看属性,取消简单文件夹共享,因为简单文件夹共享是要基于WINDOWS验证的,然后开启地图文件夹的web共享,之后即可发布成功!mxd文档属于地图资源,需要所有的soc机器都能访问到,最简单的把办法就是用相对路径存储数据,把mxd和数据放在同一目录内,然后共享该目录,之后发布就可以找到你这个mxd了。要么就是给所有soc赋予访问该目录的权限。 阅读全文
posted @ 2011-03-12 13:53 象牛 阅读(1106) 评论(0) 推荐(0)
摘要:本帖转自:http://bbs.esrichina-bj.cn/esri/viewthread.php?tid=785302.1 library:http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp/arcgis_js_v21_api.zip2.1 sdk:http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp/arcgis_js_v21_sdk.zip2.0 library:http://help.arcgis.com/EN/webapi/javasc 阅读全文
posted @ 2011-03-12 13:52 象牛 阅读(569) 评论(0) 推荐(0)