会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
吃喝玩乐
博客园
首页
新随笔
联系
管理
订阅
03 2015 档案
ArcGIS Engine 中 线加箭头
摘要:voidAddArrowElement(IGeometrypGeometry,IActiveViewpActiveView){IRgbColorpColor=newRgbColorClass();pColor.Red=255;ICartographicLineSymbolpCartoLineS...
阅读全文
posted @
2015-03-24 16:32
94cool
阅读(2649)
评论(0)
推荐(0)
ArcGis实现添加MultiLayerMarkerSymbol(多个符号叠加生成新的符号)
摘要:privatevoidaxMapControl1_OnMouseDown(objectsender,ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvente){//产生一个简单符号ISimpleMarkerSymbolpMarkerSymbo...
阅读全文
posted @
2015-03-24 16:30
94cool
阅读(2498)
评论(0)
推荐(0)
AE二次开发技巧之撤销、重做
摘要:原文地址:http://www.cnblogs.com/wylaok/articles/2363208.html可以把AE自带的重做、撤销按钮或工具添加到axToolBarControl上,再把axToolBarControl工具条隐藏,同时,在自定义的工具条上新建对应的按钮,按下此按钮实际触发的是...
阅读全文
posted @
2015-03-24 16:29
94cool
阅读(1285)
评论(0)
推荐(0)
ArcGIS Engine 中 Geometric Network 显示流向代码
摘要:原文地址:http://hi.baidu.com/steeeeps/item/165fbc15475e94741009b5b3非常感谢作者。以前学习几何网络时,对效用网络流向进行了总结,原理与效果图见:http://hi.baidu.com/llinkin_park/blog/item/7f18ff...
阅读全文
posted @
2015-03-24 16:23
94cool
阅读(586)
评论(0)
推荐(0)
ArcGis 中MapControl 框选
摘要:voidmCtrl_OnMouseDown(objectsender,ESRI.ArcGIS.Controls.IMapControlEvents2_OnMouseDownEvente){#region框选if(e.button==4){IEnvelopepEnvelope=mCtrl.TrackR...
阅读全文
posted @
2015-03-18 15:51
94cool
阅读(679)
评论(0)
推荐(0)
TIF、JPG图片手动添加地理坐标的方法(转载)
摘要:题目:为TIF、JPG图片添加地理坐标/平面直角坐标。图片来源:GOOGLE EARTH。(当然也可以是其他知道四角点坐标的图片)截图工具:GEtscreen(此软件截图时可以自动生成图片四角点坐标或经纬度)其它条件:要已知图片分辨率。(X方向像素数numX,Y方向像素数numY)假设:左上角坐标(...
阅读全文
posted @
2015-03-18 15:50
94cool
阅读(2595)
评论(0)
推荐(0)
ArcGis 计算线段长度
摘要:voidCalcLength(stringtmpshp){varexpression="float(!SHAPE.LENGTH@YARDS!)";CalculateFieldcgridX=newCalculateField(tmpshp,"Length",expression);cgridX....
阅读全文
posted @
2015-03-13 15:36
94cool
阅读(5479)
评论(2)
推荐(0)
C# 使用正则表达式去掉字符串中的数字,或者去掉字符串中的非数字
摘要:///去掉字符串中的数字publicstaticstringRemoveNumber(stringkey){returnRegex.Replace(key,@"\d","");}//去掉字符串中的非数字publicstaticstringRemoveNotNumber(stringkey){r...
阅读全文
posted @
2015-03-12 17:12
94cool
阅读(25850)
评论(0)
推荐(6)
ArcGis 创建IWorkspace
摘要:stringoshpDir=System.IO.Path.GetDirectoryName(outfile);stringoshpfilename=System.IO.Path.GetFileName(outfile);IWorkspaceFactorywsFactory=newShapefileW...
阅读全文
posted @
2015-03-11 10:23
94cool
阅读(409)
评论(0)
推荐(0)
ArcGis 获取地理、平面坐标系
摘要:1IProjectedCoordinateSystemLoadProjectedCoordinateSystem(stringshpfile)2{3/*IFeatureClass从中获取地理坐标、平面坐标4stringshpDir=System.IO.Path.GetDirectoryName(sh...
阅读全文
posted @
2015-03-09 13:38
94cool
阅读(3141)
评论(0)
推荐(0)
The Geometry has no Z values 解决办法
摘要:from:http://dufan20086.blog.163.com/blog/static/6616452320145269343675/我们在创建要素时,简单的IFeatureClass.CreateFeature之后,然后把IGeometry对象赋给Feature.shape,会引发“Th...
阅读全文
posted @
2015-03-09 11:23
94cool
阅读(1412)
评论(0)
推荐(1)
【ArcGIS二次开发】CreateFeature报错(HRESULT E_FAIL)
摘要:在VS2010下基于ArcGIS 10.1做二次开发时遇到个奇怪的问题,对于MXD工程文档中已经存在的图层,获取其FeatureClass可以调用CreateFeature()函数生成要素,但是对于通过程序代码(AddShapFile())添加到MXD工程中的图层,获取其FeatureClass后再...
阅读全文
posted @
2015-03-09 11:20
94cool
阅读(454)
评论(0)
推荐(0)
ArcGIS实现在线与线交叉处打断线(批量)
摘要:from:http://he1989.blog.163.com/blog/static/2052041092012631112459704/打开ArcgisDesktop中的ArcToolBox 找到数据管理工具(Data management tools)——>要素(Features)——>要素转...
阅读全文
posted @
2015-03-04 13:26
94cool
阅读(9405)
评论(0)
推荐(0)
报错"the geometry has no Z values"处理
摘要:from:http://blog.sina.com.cn/s/blog_6faf711d010138vq.html /////设置Z值和M值,解决TheGeometryhasnoZvalues错误//////要素///几何publicstaticvoidSetZValue(IFeaturepF,...
阅读全文
posted @
2015-03-03 16:42
94cool
阅读(361)
评论(0)
推荐(0)
公告