如何在 Android 上将 TM-2 度坐标转换为经纬度?

发布于 2024-07-26 18:04:04 字数 204 浏览 2 评论 0原文

我正在编写一个在 Android 上将 TM-2 度转换为纬度/经度的程序,但我找不到相应的公式。 我确实在互联网上找到了一些示例,但大多数都是用开源库转换的,我无法在Android平台上使用。 我还找到了一个可以从 UTM 转换为 lat lon 的 java 类,但它似乎不适合 TM 2 度坐标系。 所以我的问题是:如何将 TM 2 度坐标转换为纬度/经度? 在哪里可以找到公式?

I am writing a program that convert TM-2 degree to lat/lon on Android, but I can't find formula for that. I do find some example on internet, but most of them are convert with open source library, that I can't use on Android platform. I also find a java class that do convert from UTM to lat lon, but it seems no suitable for TM 2 degreen coordinate system. So my question is: how do I convert TM 2 degree coordinate to lat/lon? Where can I find formula?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

妄断弥空 2024-08-02 18:04:04

如果您可以访问开源库,并且它们是开源的,那么您可以轻松下载源代码并查看转换所需的算法。 这确实是一个独立于平台的问题,你是否使用 Android 并不重要,一旦你知道了算法,你就可以用你喜欢的任何语言来实现它。

另外,我不认为正式名称是 TM-2,我找不到将其作为大地测量系统或地理坐标系的参考。

If you have access to the open source libraries, and they are open source, then you can easily download the source code and take a look at the algorithm necessary for the conversion. This is really a platform independent question, it doesn't matter much that you're on Android, once you know the algorithm you could implement it with any language you like.

Also, I don't think the official name is TM-2, I can't find references to it as a Geodetic System or as a Geographic Coordinate System.

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