zoukankan      html  css  js  c++  java
  • IPoint从自定义的投影坐标系转换到自定义的地理坐标系

    1 IPoint pointStart = new PointClass();
    2                     pointStart = xyPolyline.FromPoint;
    3 
    4                     ISpatialReferenceFactory pSpatialRefFtry = new SpatialReferenceEnvironmentClass();
    5                     ISpatialReference fromSpatialRef = pSpatialRefFtry.CreateESRISpatialReferenceFromPRJFile(Application.StartupPath + "\CoordinateSystems\2000_3_Degree_117E.prj");
    6                     ISpatialReference toSpatialRef = pSpatialRefFtry.CreateESRISpatialReferenceFromPRJFile(Application.StartupPath + "\CoordinateSystems\China Geodetic Coordinate System 2000.prj");                                    
    7                     ISpatialReferenceFactory pSRF = new SpatialReferenceEnvironmentClass();
    8                     pointStart.SpatialReference = fromSpatialRef;
    9                     pointStart.Project(toSpatialRef);
  • 相关阅读:
    C语言实现大数计算
    shell编程题(九)
    shell编程题(八)
    信号(一)
    shell编程题(六)
    C语言实现webServer
    chrome导入导出常用书签
    JdbcTemplate
    数据库连接池
    JDBC
  • 原文地址:https://www.cnblogs.com/fatherZyl/p/3578257.html
Copyright © 2011-2022 走看看