随笔分类 -  ArcEngine

ArcEngine开发应用研究
释放工作空间
摘要:ComReleaser.ReleaseCOMObject(dsName); ComReleaser.ReleaseCOMObject(wks); GC.Collect(); GC.WaitForPendingFinalizers(); 阅读全文
posted @ 2018-07-27 13:46 janehlp 阅读(159) 评论(0) 推荐(0)
要素平移
摘要:1 IActiveView activeView; 2 3 IEnvelope env = activeView.Extent; 4 IPoint centerpnt = (feat.ShapeCopy as IArea).Centroid; 5 env.CenterAt(centerpnt); 6 activeView.Extent = env; 7 activeView.Refresh()... 阅读全文
posted @ 2017-12-14 02:48 janehlp 阅读(354) 评论(0) 推荐(0)
arcgis10.2 打开CAD文件注记乱码
摘要:1、使用ARCGIS10.2打开CAD文件,图面显示的注记内容为乱码,属性表中的注记内容正常2、同样的CAD文件在ARCGIS9.3中打开正常出现此情况影响历史数据使用,请求ESRI技术支持注:系统添加cad同样的字体库、图层属性中修改显示字体仍不能解决问题 【解决办法】:这个问题之前有用户反馈过, 阅读全文
posted @ 2017-10-26 11:16 janehlp 阅读(10711) 评论(0) 推荐(0)
布局视图地图平移
摘要:IPoint centerPoint; centerPoint.Project(PageCtrl.ActiveView.FocusMap.SpatialReference); IActiveView pActiveView = PageCtrl.ActiveView.FocusMap as IActiveView; IEnvelope pEnvelope = (IEnvelope)pActi... 阅读全文
posted @ 2017-06-15 13:49 janehlp 阅读(308) 评论(0) 推荐(0)
显示政区边界
该文被密码保护。
posted @ 2017-03-14 23:08 janehlp 阅读(4) 评论(0) 推荐(0)
地图坐标点转换成布局坐标点
摘要:1 IPoint mapPnt; 2 int xpixels=0,ypixels=0; 3 MapControl.FromMapPoint(mapPnt, ref xpixels, ref ypixels); 4 IPoint pagePnt = PageLayoutControl.ToPagePoint(xpixels, ypixels); 阅读全文
posted @ 2016-12-12 23:18 janehlp 阅读(378) 评论(0) 推荐(0)
WGS84投影的WKID说明
摘要:关于WKID的几点说明 1.ArcGIS Server 10中: EPSG 3857 WGS_1984_Web_Mercator_Auxiliary_Sphere ESRI 102113 WGS_1984_Web_Mercator 2.ArcGIS Server 9.3.1中: ESRI 10210 阅读全文
posted @ 2016-08-13 21:10 janehlp 阅读(1524) 评论(0) 推荐(0)
要素缩放闪烁功能
摘要:public static void ZoomAndFlash(IMapControl3 mapctrl, IFeature feat) { MapHelper.ZoomToFeature(mapctrl.ActiveView, feat); IGeometry shape = mapctrl.ActiveView.Exten... 阅读全文
posted @ 2016-05-02 01:32 janehlp 阅读(240) 评论(0) 推荐(0)
ArcEngine9.3报错Create output feature class failed
摘要:ArcEngine9.3执行IFeatureDataConverter.ConvertFeatureClass Method出错如下错误信息:Create output feature class failed原因:是输出要素类被加锁无法删除。 阅读全文
posted @ 2015-06-23 10:38 janehlp 阅读(845) 评论(1) 推荐(0)
ArcGlobe点击IGlobeServerLayer图层读取信息
摘要:ArcGISServer将点图层发布成Globe服务,AE开发中自定义识别工具,读取点数据信息。1) 通过Locate方法获取图层对象,图层对象中的SearchOID就是你点中的要素Objectid。2)通过GlobeServer.Identify读取结果集IGlobeServerIdentifyR... 阅读全文
posted @ 2015-01-13 16:15 janehlp 阅读(299) 评论(0) 推荐(0)
ArcEngine 通过IRelationalOperator.Relation判断几何体相交
摘要:IRelationalOperator 接口: 1. Provides access to members that determine if a certain spatial relationship exists between two geometries. Members Descript 阅读全文
posted @ 2014-12-10 12:31 janehlp 阅读(3098) 评论(0) 推荐(0)
ArcEngine 通过SpatialRelDescription删除不相交要素
摘要:ISpatialFilter.SpatialRel设置为esriSpatialRelRelate,并且设置SpatialRelDescription为某个字符串。该字符串的构造方法:该字符串为长度为9, “*********”;每一个“*“可以换为”T“或”F“,T表示True,F表示False。具 阅读全文
posted @ 2014-12-10 11:12 janehlp 阅读(875) 评论(0) 推荐(0)
arcengine9.3与10开发授权代码
摘要:arcgis10:ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);arcgis9.3:在窗体上放置license控件就行。private ESRI.ArcGIS.Controls.AxLicenseCo... 阅读全文
posted @ 2014-12-06 14:33 janehlp 阅读(472) 评论(0) 推荐(0)
无法启动ArcSDE服务
摘要:ArcSDE服务启动错误:Error (-327), No ArcSDE server license found解决方法:>sdesetup -o update_key -d oracle10g -l e:\temp\arcserver93.ecp -u SDE -p SDE启动ArcGIS的SDE的时候,发现其不能启动,报错信息如下:esri_sde, Connection to RDBMS failed.解决方法:>sdemon -o start 阅读全文
posted @ 2013-07-16 11:02 janehlp 阅读(315) 评论(0) 推荐(0)