纵向宽度对轴承有何影响

发布于 2024-12-01 22:37:57 字数 921 浏览 3 评论 0原文

编辑:在很大程度上,我已经使用一个公式来计算出这一点,该公式描述了纵向宽度的变化,具体取决于您的纬度。
纵向宽度公式
维基百科文章链接。 现在我必须弄清楚这样的结果将如何改变方位,有什么建议吗?

这是我面临的问题,理论上经度和纬度的所有“块”都是相等的,无论它们在哪里。 然而,距离赤道越远,它们彼此之间的距离就越窄。 因此,可以肯定地说,在热带地区,一个街区的实际面积比赤道要小得多。

在我继续之前,我想说我的地理知识是在九年级结束的,所以这只是我自己的研究。

因此,为了简单起见,我有一个与块一起使用的系统,并且根据它,所有块都是相等的。

当您考虑轴承时就会出现问题。如图(右侧)所示,这是设备给出的实际方位,并且该精确角度被馈送到系统。因此系统在收到它时对其进行解释。 (即左侧的实线。)

在此处输入图像描述

但这是不准确的。因此,解决方案是根据设备距赤道的距离来改变方位,以适应经度的缩小,然后到达左侧的虚线箭头,这是正确的。


这就是我的智慧耗尽的地方,
1:我不知道计算经度缩小的方程, 已解决
2:我什至不确定我是否能够应用它并得出一个系数来准确地抵消轴承。

目前我正在 php 中执行此操作,但我很可能最终会在稍后阶段将其移植到 Android 客户端中。

EDIT: For the most part I have figured this out using a formula that describes the changes in longitudinal width depending on your latitude.
Formula for Longitudinal width
Link to wikipedia article.
Now I haveto figure out how the result of this will change the bearing, any suggestions?

This is the problem I face, in theory all "blocks" of Longitude and Latitude are equal, no matter where they are.
However the further you move away from the equator the more they narrow towards each other.
so at the tropics its safe to say the actual area is much less in one block then at the equator.

Before I continue let me just say my knowledge of geography ended in grade 9, so this just from my own research.

So I have a system that for simplicity works with blocks, and according to it all blocks are equal.

The problem arises when you take bearings into account. As the image illustrates (on the right) that is the actual bearing given by a device, and that exact angle is fed to the system. So the system interprets it as it receives it. (i.e. the solid line on the left.)

enter image description here

But that is inaccurate. So the solution is to alter the bearing according to how far away the device is from the equator to accommodate for this narrowing in longitude, and then arrive at the dotted arrow on the left which would be correct.


This is where I run out of intelligence,
1: I dont know an equation to calculate the narrowing of longitude, SOLVED
2: I'm not even sure i would be able to apply it and arrive at a coefficient to accurately offset the bearing.

And for a not I am doing this in php for now, however I will most likely end up porting this into an android client at a later stage.

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

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

发布评论

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

评论(2

我的影子我的梦 2024-12-08 22:37:57

这正是地理坐标系旨在处理的问题,因此您应该研究这些问题位,也许选择一个处理此类计算的库,例如 这个 PHP 库

地球不是平坦的,不要尝试将平面几何形状“映射”到球体上,就像那样......

而且我对您使用“热带”感到有点困惑 - 那些非常接近赤道afaik。 ...

That's exactly the kind of problems geographic coordinate systems were designed to deal with, so you should study those a bit, maybe select a library that handles this kind of calculations, like this PHP library.

The earth isn't flat, don't try to "map" planar geometry onto a sphere just like that ...

And I'm a bit puzzled by your use of "tropics" - those are pretty close to the equator afaik....

好久不见√ 2024-12-08 22:37:57

在地球上绘制点非常困难,尤其是因为地球不是球形,而是扁椭球体。

你需要看的是“大圆距离”和“半正矢”公式。这里有一篇关于它的好文章...

http://www.movable-type .co.uk/scripts/latlong.html

当我遇到与您相同的问题时,我花了一段时间才消化这一点。

Plotting points on planet earth is very difficult, not least because earth is not spherical, but is an oblate spheroid.

What you need to look at is something called "Greater Circle Distance" and "Haversine" formula. There's a good article about it here...

http://www.movable-type.co.uk/scripts/latlong.html

It took me a while to digest that when I faced the same issue you have.

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