Slightly off topic, I know, but ... a variation on the old classic "Physics 101" exam question:
Q: You need to determine the height of a high-rise building, using the navigational aids available to you. How do you go about this to achieve the best accuracy?
A1: Just read off the contours on a topo map and .... Oh, wait a minute, that won't work!
A2: If you have an uncalibrated Casio watch with a barometric altimeter, you can take a height reading at ground level and another at roof top level. Readings are in 20 foot increments, so your estimate will be good to about 40 feet accuracy (12 metres say), 20 feet (6 metres) at best.
A3: If you have a GPSr without a barometric altimeter, take GPS elevation readings at ground and roof level. Rooftop reading accuracy will probably be "pretty good" (by GPS standards), due to good sky visibility, but ground level accuracy may be poor, due to shielding and multi-path errors. Height accuracy probably no better than 30 to 50 metres say.
A4: If you have a modern GPSr with a properly set-up auto-calibrated barometric altimeter, take elevation readings at ground and roof. Height accuracy will be good to about 2 to 3 metres. (Yes, it will continue to give good height accuracy as you go up in the lift, even though you will lose the GPS signals.)
A5: Another method which will work with any kind of sensor - get a long piece of weightless string, tie the watch / GPSr to the end, and swing it as a long pendulum from the roof of the building to ground level, and measure the period. Weigh the watch /GPSr. Basic mechanics will yield the length of the pendulum, and hence the height of the building.
A6: Take your watch / GPSr to the roof of the building, and drop it off. Time the fall to ground, and calculate the height of the building (taking into account gravitational acceleration and air resistance, etc.) (Note: Single use only - make sure you set your stopwatch accurately at the start and finish of the drop!)
A7: For really accurate height calculations with ANY type of measuring instrument - find the building owner. Offer to give him your watch / GPSr if he will show you the building plans, so you can read off the exact height of the roof.
Sorry, I couldn't resist!
A8: Since GPS basicly is a navigation aid, we should use an old navigation tool to solve the problem: a sextant to measure the angular height of the building, then measure the distanse between the building and you. Then it is just to do the math, and you will have an accurate measurment of the height..
PS. Forgive me the missspellings and grammar errors. As you probably can se english is not my native language..