首页 > 编程知识 正文

经纬度和墨卡托坐标互相转换(84 坐标转 笛卡尔坐标 墨卡托投影)

时间:2023-05-06 17:04:40 阅读:121633 作者:3791

fvectoratest :3360 lonlattomercator (浮动lon,浮动lat ) {FVector mect3; floatx=lon * 20037508.3427894/180; floaty=log(tan(90lat ) *PI/360 )/(PI/180 ); y=y *20037508.34/180; mect3.X=x; mect3.Y=y; mect3.Z=8000.0; 返回mec T3; }将fvectoratest :3360移动中心(fvectorori ) returnfvector ((ori.x-12957190.0 ) 75,)-24447256.0-ori.Y )

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。