# Add terrain or raster tiff into Unreal with Cesium

**URL:** https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677
**Category:** Cesium for Unreal
**Created:** [December 13, 2023, 8:03am UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677 "2023-12-13T08:03:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Upasna](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/upasna/32/14000_2.png) [@Upasna](https://community.cesium.com/u/Upasna)
#### Post date: [December 13, 2023, 8:03am UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/1 "2023-12-13T08:03:38Z")

</div>

Hey everyone!

I am currently working with cesium for unreal, and my goal is right now to import the mesh into cesium to display the flood raster in 3D, with the values showing as height above terrain instead of a colour in unreal. For that I have a raster .tif which represents flood levels in metres for a region. I have converted raster tif into tin mesh using [GitHub - heremaps/tin-terrain: A command-line tool for converting heightmaps in GeoTIFF format into tiled optimized meshes.](https://github.com/heremaps/tin-terrain) and obtained .terrain file.

But now I don’t really know how to add that terrain in cesium Ion or add .terrain file in cesium for unreal directly. I would greatly appreciate any assistance or guidance on this matter.

Thanks for reading

Upasna

---

<div class="post-metadata">

### Author: ![jdh2550](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jdh2550](https://community.cesium.com/u/jdh2550)
#### Post date: [December 17, 2023, 9:11pm UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/2 "2023-12-17T21:11:20Z")

</div>

Hi - I did something similar…

1. Import your TIFF into Cesium Ion as “type imagery” (there’s a quick start guide for this).
2. In UE add a Cesium 3D Tile Set and then select its Cesium Ion Raster Overlay component. Set the Ion Asset ID in the component to the asset id you created in step 1.

does that help?

---

<div class="post-metadata">

### Author: ![jdh2550](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jdh2550](https://community.cesium.com/u/jdh2550)
#### Post date: [December 17, 2023, 9:15pm UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/3 "2023-12-17T21:15:04Z")

</div>

Actually, I just re-read your question - and I don’t think this helps - as you want the terrain not the GeoTIFF - duh! my bad.

However, You may be able to achieve what you want using a similar approach. Import your terrain into Cesium Ion as type “Terrain”. And then, in UE, you’d want to set the Ion Asset ID on the **Tile Set** not the raster overlay.

---

<div class="post-metadata">

### Author: ![upasna-canterbury](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/upasna-canterbury/32/14000_2.png) [@upasna-canterbury](https://community.cesium.com/u/upasna-canterbury)
#### Post date: [December 18, 2023, 8:34pm UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/4 "2023-12-18T20:34:15Z")

</div>

Hi @jdh2550 I have tried this, But its not working. I am not able to import my .terrain file into cesium Ion as this was not supported and I am having issue with my .obj file as well when I import it into cesium ion, its location is not right.I am not able to adjust tileset location.

 ![image](https://global.discourse-cdn.com/cesium/original/3X/2/0/2097275a6e1105270e9400496ae3a29d564cc6f5.jpeg)

---

<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: [December 19, 2023, 5:53am UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/5 "2023-12-19T05:53:12Z")

</div>

@upasna-canterbury you need to import your GeoTIFF as type terrain into Cesium ion, _not_ your .terrain file.

---

<div class="post-metadata">

### Author: ![upasna-canterbury](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/upasna-canterbury/32/14000_2.png) [@upasna-canterbury](https://community.cesium.com/u/upasna-canterbury)
#### Post date: [January 2, 2024, 11:17pm UTC](https://community.cesium.com/t/add-terrain-or-raster-tiff-into-unreal-with-cesium/28677/6 "2024-01-02T23:17:55Z")

</div>

Thank you, now its working
