[英]How do I calculate the distance between two points (vertically) specified by latitude and longitude and Altitude?
I have checked other questions but nobody is talking about how to calculate the height of an object using GPS,我检查了其他问题,但没有人谈论如何使用 GPS 计算 object 的高度,
Consider I have two data points vertically (not horizontally which calculates the distance), I have (lat1,lon1,alt1) and (lat2,lon2,alt2).考虑我有两个垂直的数据点(不是水平的计算距离),我有(lat1,lon1,alt1)和(lat2,lon2,alt2)。 now, How can I calculate the height of the object?
现在,如何计算 object 的高度? Is there any formula using which I can get the height?
有什么公式可以用来计算身高吗? consider a cube and data points are of the front top left and the front bottom left, can I get the height of this cube using these two data points using any formula?
考虑一个立方体,数据点位于前左上角和前左下角,我可以使用任何公式使用这两个数据点得到这个立方体的高度吗?
If I am reading your question right, when you say height this is going to be the vertical.如果我没看错你的问题,当你说高度时,这将是垂直的。 Simply go
简单go
alt2 - alt1
(assuming alt2 > alt1) or go (假设 alt2 > alt1)或 go
mod(alt1 - alt2)
This should give you the vertical rise irrespective of where the Lat, Long are in space!!!!无论纬度、经度在太空中的哪个位置,这都应该让您垂直上升!!!! Hope that solves it!
希望能解决!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.