# sampleTerrainMostDetailed return wrong heights

**URL:** <https://community.cesium.com/t/sampleterrainmostdetailed-return-wrong-heights/12155>\
**Category:** CesiumJS\
**Created:** [January 28, 2021, 7:14am UTC](https://community.cesium.com/t/sampleterrainmostdetailed-return-wrong-heights/12155 "2021-01-28T07:14:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lzio](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/lzio/32/3983_2.png) [@lzio](https://community.cesium.com/u/lzio)\
**Post date:** [January 28, 2021, 7:14am UTC](https://community.cesium.com/t/sampleterrainmostdetailed-return-wrong-heights/12155/1 "2021-01-28T07:14:56Z")

</div>

Hi everyone!  
 ![image](https://global.discourse-cdn.com/cesium/original/2X/3/365a46c032a2037a080443cade6ce9a8ed30d86d.jpeg)  
The screenshot shows the problem i found, some sample points’s height higher that terrain surface, and some sample points’s height lower that terrain surface, anyone knows how to handle this?

Demo in sandcastle:

 ![image](https://global.discourse-cdn.com/cesium/original/2X/a/a9617521ab2acb702ba8f147a43f224d6a0b2538.jpeg)

Before set Ground Translucency:

 ![20210128161945](https://global.discourse-cdn.com/cesium/original/2X/6/6c49af0f3cae04acf0417d1c6e94a7c86f0e0f3b.jpeg)  
After set Ground Translucency:  
 ![20210128161953](https://global.discourse-cdn.com/cesium/original/2X/b/bbbaa25452dd5799390a027dbed7e931498ec27c.jpeg)

Update:  
I tried empty terrain, i have same height data as before, i’m confused how it works.

 ![image](https://global.discourse-cdn.com/cesium/original/2X/9/9834563d5425904e5067096ce4219ac71a27b615.jpeg)  
Thanks for the help
