ArcgisEngine’s UnknownCoordinateSystem

arcgis engine. development, sometimes it does not confirm what the coordinate system, so the default setting an empty coordinate system. If you do not set shp file is created you will be prompted coordinate system creation failed. So empty a coordinate system on the coordinates is created is not clear for what data is necessary. When the layer is added to the map, the map editing operation, the extent of the layer will be updated automatically added to the corresponding surface features FullExtent to can be based on the need to project the layers can be.

 

main code:

 


 UnknownCoordinateSystem system = new UnknownCoordinateSystem();
 ESRI.ArcGIS.Geometry.ISpatialReference spatialReference_Un = system as ESRI.ArcGIS.Geometry.ISpatialReference;
 spatialReference_Un.SetFalseOriginAndUnits(-180, -90, 1000000);//important code

本文固定链接: http://www.higis.org/en/2012/06/18/arcengine-unknowncoordinatesystem/ | Hi,GIS


该日志由 H.J 于2012年06月18日发表在 GIS, Program 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: ArcgisEngine’s UnknownCoordinateSystem | Hi,GIS
关键字: , ,

ArcgisEngine’s UnknownCoordinateSystem:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter