坐标变换(LL+高程到WGS84)

发布于 2024-07-18 00:27:50 字数 238 浏览 4 评论 0原文

我目前正在开发一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

趁年轻赶紧闹 2024-07-25 00:27:50

许多投影库,例如 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文