Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用Proj4js来转换一对(sweref99tm,rt90,kkj3,wgs84)坐标。出于某种原因,我得到了错误的结果。这是我的代码导致错误的结果,请检查并帮助我修复它。
谢谢。
链接:
我的代码
Proj4Js 库
用于验证的在线计算器
我得到了答案。问题在于 [lat, lon] 的顺序。从改变
proj4(wgs,swe,[60,18])
至
proj4(wgs,swe,[18,60])
解决了这个问题。谢谢。