# Line Of Sight calculations

**URL:** <https://community.cesium.com/t/line-of-sight-calculations/363>\
**Category:** CesiumJS\
**Created:** [April 9, 2013, 2:48pm UTC](https://community.cesium.com/t/line-of-sight-calculations/363 "2013-04-09T14:48:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olegviz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/olegviz/32/25672_2.png) [@olegviz](https://community.cesium.com/u/olegviz)\
**Post date:** [April 9, 2013, 2:48pm UTC](https://community.cesium.com/t/line-of-sight-calculations/363/1 "2013-04-09T14:48:59Z")

</div>

Hello ,

Is there any Line of Sight intersections with terrain that are available ?

What if I need LOS server , for LOS queries , what is the best way to implement this.

Thank you

Oleg

---

<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:** [April 9, 2013, 3:02pm UTC](https://community.cesium.com/t/line-of-sight-calculations/363/2 "2013-04-09T15:02:35Z")

</div>

Hi Oleg,

The company I work for ([AGI](http://www.agi.com)) offers products that can compute terrain line-of-sight, and we plan to eventually offer a (paid) server-based product that is well-integrated with Cesium and can do this sort of thing. The capability does not currently exist in Cesium, however. If your needs are fairly basic, you could look into manually walking through heightmaps to compute LOS. Take a look at the “sampleTerrain” function in Cesium to see how you can obtain and access terrain heightmaps.

Kevin
