坐标变换(LL+高程到WGS84)
我目前正在开发一个 3D 可视化项目,我遇到了一个问题,我注意到我们一直在以一种黑客的方式做。
我对 WGS84 系统本身不太有经验,我想知道在给定地球轨道上方特定高度值的情况下,是否有一种“正确”的方法将 LL 点转换为 WGS 坐标。
我们现在的做法是进行从 LL 到 WGS84 的常规转换,然后取其单位向量,并将其乘以高程与地球半径之和。 这似乎不是最有效的方法,我想知道是否有更容易接受的方法来进行这种转换。
I'm currently working on a 3D visualization project, and I came across an issue that I noticed we've been doing in a hackish way.
I'm not too experienced with the WGS84 system itself, and I was wondering if there was a "correct" way to convert a LL point into the WGS coordinate, given a specific value of elevation above the Earth's orbit.
How we're doing it now is doing the usual conversion from LL to WGS84, then taking the unit vector of that, and multiplying it by the sum of the elevation and the Earth's radius. This doesn't seem like the most efficient method, and I'm wondering if there's a more accepted way to make that conversion.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
许多投影库,例如 Proj.4 以及使用它的库,例如 GDAL/OGR 将允许您指定海拔。
EPSG 项目有一个数据库,列出了几乎每个投影的“正确”实现方法,包括地理和投影坐标系中的 WGS84。 它是一个免费可用的数据库(尽管采用 MS Access 格式)。
Many projection libraries, such as Proj.4 and libraries using it like GDAL/OGR will allow you to specify an elevation.
The EPSG project has a database that lists the "proper" way to implement this, for nearly every projection out there, including WGS84 in geographic and projected coordinate systems. It is a freely available database (although in MS Access format).