Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于半径参数的问题 #50

Open
maryeet opened this issue Oct 26, 2024 · 1 comment
Open

关于半径参数的问题 #50

maryeet opened this issue Oct 26, 2024 · 1 comment

Comments

@maryeet
Copy link

maryeet commented Oct 26, 2024

var a = 6378245.0;

半径参数是否应该用WGS84的6378137更准确?6378245是北京54的半径参数已经弃用。

12、北京54,西安80,WGS84,国家2000
54和80本质上是参心坐标系,大地原点分别在苏联和西安,原点是参考椭球的几何中心,这类坐标难以表达高度信息,精度信息等也不够,正被淘汰。WGS84和国家2000本质上是地心坐标系,即以地球质量中心作为坐标系原点。54的椭球体长半轴半径是6378245米,80为6378140米,84和2000坐标系一样,都是6378137米。国家最新的2000坐标系和WGS84据说在厘米级都是一样的,但和80坐标在高纬度地区误差达十几倍。

参考

其它项目也采用的6378137米 https://github.com/googollee/eviltransform

https://github.com/googollee/eviltransform/blob/03ba58d92dfda57f8a1635f3805483c8fc10bd77/javascript/transform.js#L10

@wandergis
Copy link
Owner

嗯嗯 说的很有道理,我抽空来做一下测试后更新一下参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants