1
votes

I have checked other questions but nobody is talking about how to calculate the height of an object using GPS,

Consider I have two data points vertically (not horizontally which calculates the distance), I have (lat1,lon1,alt1) and (lat2,lon2,alt2). now, How can I calculate the height of the 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?

enter image description here

2
How are latitude and longitude related to height?Flimzy
lat, lon is just there to find the position. Altitude is also there in the data point,Ekta Dobaria
Can I measure, for example, a building's height using geo-coordinates? we can measure its length and width using geo refs but what about height? is there any formula?Ekta Dobaria
@MohsenAlyafei Thansk, I mentioned the word distance but also specified the work verticle to give clear idea.Ekta Dobaria
@MohsenAlyafei YOu are right all the points may not be exactly on top of each other every time, so what do you suggest instead of alt2-alt1, is there any formula for that kind of scenario to calculate the height difference or altitude difference( whatever we say height or alt diff)?Ekta Dobaria

2 Answers

0
votes

If I am reading your question right, when you say height this is going to be the vertical. Simply go

alt2 - alt1

(assuming alt2 > alt1) or go

mod(alt1 - alt2)

This should give you the vertical rise irrespective of where the Lat, Long are in space!!!! Hope that solves it!

0
votes

The question is not clear.

Is the vertical distance what is required?

Please see the image below.

enter image description here