# Get heighy value

**URL:** <https://community.cesium.com/t/get-heighy-value/23064>\
**Category:** Cesium for Unreal\
**Created:** [March 24, 2023, 7:58pm UTC](https://community.cesium.com/t/get-heighy-value/23064 "2023-03-24T19:58:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![liangbo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/liangbo/32/12437_2.png) [@liangbo](https://community.cesium.com/u/liangbo)\
**Post date:** [March 24, 2023, 7:58pm UTC](https://community.cesium.com/t/get-heighy-value/23064/1 "2023-03-24T19:58:23Z")

</div>

now Is there any way to obtain height through longitude and latitude?

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [March 27, 2023, 2:20pm UTC](https://community.cesium.com/t/get-heighy-value/23064/2 "2023-03-27T14:20:36Z")

</div>

Hi @liangbo,

Can you clarify what you mean by “height”? Cesium for Unreal uses the WGS84 ellipsoid model, and in the Longitude Latitude Height coordinate model, “height” refers to the height above the ellipsoid. This is often not equal to the height above sea level.

These forum threads aren’t exactly the same as your question, but Kevin’s replies to them may help with your issue:

> [@The height of the sea is not 0](https://community.cesium.com/t/the-height-of-the-sea-is-not-0/14220/8):
>
> Hi @leielyq, Cesium for Unreal does not provide a way to set the sea height to 0, nor does it have a way to “pretend the world is flat” and ignore Earth curvature. But it should be possible to put your objects on the water surface without too much trouble. If your area of interest is relatively small, such that Earth curvature is negligible, you can probably get pretty close to “sea is at Z=0” with just a little bit of effort. The main trick is in figuring out the WGS84 height of mean sea leve…

> [@Best practices for obtaining real world lat, long, height, and converting that into UE4 coordinates](https://community.cesium.com/t/best-practices-for-obtaining-real-world-lat-long-height-and-converting-that-into-ue4-coordinates/14441/2):
>
> Hi @nbaja, This is a very common problem. When you look up a height on Wikipedia and elsewhere, it’s almost always a height above sea level. “Sea level” is a bit of a fuzzy concept. It’s made concrete (at least a “mean” sea level is) by various geoid models, but geoid models are messy and irregular. Instead, Cesium uses heights above the WGS84 ellipsoid. This is a nice mathematical approximation of the Earth’s shape, used by GPS and many other things. This definitely doesn’t mean Cesium is inac…

---

<div class="post-metadata">

**Author:** ![liangbo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/liangbo/32/12437_2.png) [@liangbo](https://community.cesium.com/u/liangbo)\
**Post date:** [May 9, 2023, 5:25am UTC](https://community.cesium.com/t/get-heighy-value/23064/3 "2023-05-09T05:25:06Z")

</div>

It is the Longitude Latitude Height  
For example, I am standing on a mountaintop, and I have the latitude and longitude of the mountaintop. I want to know the height of the mountaintop. It’s convenient for me to set the object to this mountaintop.

---

<div class="post-metadata">

**Author:** ![liangbo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/liangbo/32/12437_2.png) [@liangbo](https://community.cesium.com/u/liangbo)\
**Post date:** [May 9, 2023, 5:35am UTC](https://community.cesium.com/t/get-heighy-value/23064/4 "2023-05-09T05:35:11Z")

</div>

Actually, I want to know the height of the cesium landscape at a certain latitude and longitude position.

---

<div class="post-metadata">

**Author:** ![liangbo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/liangbo/32/12437_2.png) [@liangbo](https://community.cesium.com/u/liangbo)\
**Post date:** [May 9, 2023, 5:35am UTC](https://community.cesium.com/t/get-heighy-value/23064/5 "2023-05-09T05:35:30Z")

</div>

@janine

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [May 9, 2023, 6:18am UTC](https://community.cesium.com/t/get-heighy-value/23064/6 "2023-05-09T06:18:25Z")

</div>

The only way to do this currently is with a LineTrace.

---

<div class="post-metadata">

**Author:** ![liangbo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/liangbo/32/12437_2.png) [@liangbo](https://community.cesium.com/u/liangbo)\
**Post date:** [May 12, 2023, 5:30am UTC](https://community.cesium.com/t/get-heighy-value/23064/7 "2023-05-12T05:30:13Z")

</div>

In that case, I must see this tile before I can decorate my actor
