But nothing that does it automatically? i.e. point at a building and it tells you the height in relation to sea level. I thought maybe there was some GPS laser gadget that might do it.
I don't know if such a device exists, but you'd need to know several things:
1. elevation of base of building, relative to sea level. Once that is established, it becomes a Pythagorean trigonometric problem.
2. horizontal distance from building. One leg of the right triangle you need to calculate
3. angle of sight, = angle of hypotenuse of right triangle.
From the latter two measurements, you can calculate the third leg of the triangle, which would equal the height of the building. Add that to the basal elevation above sea level, and you have your answer.
For best accuracy, you also need to take into account your own height, presuming this is some form of hand-held sighting instrument. And I'm also assuming your position is at a horizontal level with the base of the building, which might not be true.
But I was a Boy Scout once, and we did an exercise like this, in a cruder way, to figure out the height of trees. With a little ingenuity, you can actually get pretty good results, and fairly quickly, even without an electronic device.
caw