随笔分类 -  ARCGIS

摘要:在用C#开发ArcEngine程序实现Pagelaylout打印功能的时候,在实现横向打印的时候,总会出现如下图的情况 通过修改axPageLayoutControl1.Page.Orientation = 1;属性发现也不作用;需要通过修改IMapFrame进行修改能够实现横向和纵向的合理变化; 阅读全文
posted @ 2017-04-26 14:32 恋上微笑的天使 阅读(587) 评论(0) 推荐(0)
摘要:ILayerEffects pLayerEffects = _pFeatureLayer as ILayerEffects; pLayerEffects.Transparency = (short)透明度值; axMapControl1.Refresh(); 阅读全文
posted @ 2016-09-09 09:39 恋上微笑的天使 阅读(864) 评论(0) 推荐(0)
摘要:/// /// 保存MXD图件 /// /// 保存路径 /// 地图 private void saveMxd(string strPath) { IMapDocument pMapDocument = new MapDocumentClass(); ... 阅读全文
posted @ 2016-07-29 11:53 恋上微笑的天使 阅读(519) 评论(0) 推荐(0)
摘要:Draw a specified graphic on the map using the supplied colors. 阅读全文
posted @ 2016-06-17 14:57 恋上微笑的天使 阅读(409) 评论(0) 推荐(0)
摘要:Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; IFeatureLayer inputfeaturelayer = pMap.get_Layer(0) as IFeatureLayer; IFeatureLayer c 阅读全文
posted @ 2016-06-15 15:15 恋上微笑的天使 阅读(437) 评论(0) 推荐(0)
摘要:ISpatialReferenceFactory3 spatialReferenceFactory = new SpatialReferenceEnvironmentClass(); //geometryDefEdit.SpatialReference_2 = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSR... 阅读全文
posted @ 2016-06-13 15:29 恋上微笑的天使 阅读(246) 评论(0) 推荐(0)
摘要:public ESRI.ArcGIS.Geodatabase.IFeatureClass CreateFeatureClassForLine(ESRI.ArcGIS.Geodatabase.IWorkspace2 workspace, ESRI.ArcGIS.Geodatabase.IFeatureDataset featureDataset, System.String fea... 阅读全文
posted @ 2016-06-13 14:57 恋上微笑的天使 阅读(1663) 评论(0) 推荐(0)
摘要:单独生成要素类: 在要素集中添加要素类: 创建不同类型的要素类: 阅读全文
posted @ 2016-06-12 17:40 恋上微笑的天使 阅读(2175) 评论(0) 推荐(0)
摘要:public IFeatureDataset CreateFeatureDataset_Example(IWorkspace workspace, string fdsName, ISpatialReference fdsSR) { IFeatureWorkspace featureWorkspace = (IFeatureWorkspac... 阅读全文
posted @ 2016-06-12 17:37 恋上微笑的天使 阅读(617) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/ml5271169588/article/details/44220055 阅读全文
posted @ 2016-06-12 17:08 恋上微笑的天使 阅读(145) 评论(0) 推荐(0)
摘要:public ESRI.ArcGIS.Geodatabase.IFeatureClass CreateFeatureClass(ESRI.ArcGIS.Geodatabase.IWorkspace2 workspace, ESRI.ArcGIS.Geodatabase.IFeatureDataset 阅读全文
posted @ 2016-06-12 17:02 恋上微笑的天使 阅读(3008) 评论(0) 推荐(0)
摘要:根据要素集名称进行判断 阅读全文
posted @ 2016-06-08 15:28 恋上微笑的天使 阅读(1057) 评论(0) 推荐(0)
摘要:可以使用IWorkspace.DatasetNames,参数中输入esriDTFeatureDataset,然后获取名称,根据名称判断是否有该要素集。 阅读全文
posted @ 2016-05-31 11:33 恋上微笑的天使 阅读(384) 评论(0) 推荐(0)
摘要:方法一 : 网上找的方法,在VS2013 ArcEngine10.1 运行时报错,通过客服得知此方法经常错误,大家可以自己测试下。 方法二: 调用Clip工具的时候,参数直接写图层路径,经测试此方法可以实现。 阅读全文
posted @ 2016-05-30 09:06 恋上微笑的天使 阅读(857) 评论(0) 推荐(0)
摘要:注需 2个引用的区别 D:\Program Files (x86)\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.Geoprocessor.dll D:\Program Files (x86)\ArcGIS\DeveloperKit10.1\DotNet\ES 阅读全文
posted @ 2016-05-28 12:06 恋上微笑的天使 阅读(1632) 评论(0) 推荐(0)
摘要:地址: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/ao_home.html 阅读全文
posted @ 2016-05-28 10:50 恋上微笑的天使 阅读(376) 评论(0) 推荐(0)
摘要:实现思路: 1、解析字符串,把字符串分解成多个RING 2、把RING依次添加到 pGeometryCollection 中 3、把pGeometryCollection解析成几何图形 生成的图形如下: 相关代码如下: private IGeometry getGeometry(IGeometryC 阅读全文
posted @ 2016-05-27 11:47 恋上微笑的天使 阅读(1005) 评论(0) 推荐(0)
摘要:arcgis10.3 http://pan.baidu.com/s/1eR7ve50 arcgis 10.1 破解文件 http://pan.baidu.com/s/1hsg2QGk arcgis10.0 http://pan.baidu.com/s/1eSCuYK6 阅读全文
posted @ 2016-05-11 17:26 恋上微笑的天使 阅读(266) 评论(0) 推荐(0)
摘要:通过传入坐标点,返回几何图形,此代码部分可以生成环形面。 方法一 方法二: 阅读全文
posted @ 2016-05-11 15:14 恋上微笑的天使 阅读(3907) 评论(0) 推荐(1)