摘要: 1IProjectedCoordinateSystemLoadProjectedCoordinateSystem(stringshpfile)2{3/*IFeatureClass从中获取地理坐标、平面坐标4stringshpDir=System.IO.Path.GetDirectoryName(sh... 阅读全文
posted @ 2015-03-09 13:38 94cool 阅读(3141) 评论(0) 推荐(0)
摘要: 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)
摘要: 在VS2010下基于ArcGIS 10.1做二次开发时遇到个奇怪的问题,对于MXD工程文档中已经存在的图层,获取其FeatureClass可以调用CreateFeature()函数生成要素,但是对于通过程序代码(AddShapFile())添加到MXD工程中的图层,获取其FeatureClass后再... 阅读全文
posted @ 2015-03-09 11:20 94cool 阅读(454) 评论(0) 推荐(0)