# Terrain data for offline application

**URL:** <https://community.cesium.com/t/terrain-data-for-offline-application/15146>\
**Category:** CesiumJS\
**Created:** [September 4, 2021, 10:41pm UTC](https://community.cesium.com/t/terrain-data-for-offline-application/15146 "2021-09-04T22:41:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian\_Walberg](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ian_walberg/32/4260_2.png) [@Ian\_Walberg](https://community.cesium.com/u/Ian_Walberg)\
**Post date:** [September 4, 2021, 10:41pm UTC](https://community.cesium.com/t/terrain-data-for-offline-application/15146/1 "2021-09-04T22:41:38Z")

</div>

Where can we source/download the cesium format terrain data set?

Our application is on an offline server so have to server the tiles and terrain data from our own local server.

Thanks

---

<div class="post-metadata">

**Author:** ![ZhefengJin](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/zhefengjin/32/11504_2.png) [@ZhefengJin](https://community.cesium.com/u/ZhefengJin)\
**Post date:** [September 5, 2021, 1:40pm UTC](https://community.cesium.com/t/terrain-data-for-offline-application/15146/2 "2021-09-05T13:40:36Z")

</div>

You can download with Cesium.createWorldTerrain() 's endpoint URL using a simple downloader.

See this

> **[GitHub - 3DGISKing/CesiumJsDataCrawl](https://github.com/3DGISKing/CesiumJsDataCrawl)**
>
> Contribute to 3DGISKing/CesiumJsDataCrawl development by creating an account on GitHub.

But wonder if it is a violation of Cesium or not.

---

<div class="post-metadata">

**Author:** ![Mark\_Erikson](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mark_erikson/32/2024_2.png) [@Mark\_Erikson](https://community.cesium.com/u/Mark_Erikson)\
**Post date:** [September 6, 2021, 3:34pm UTC](https://community.cesium.com/t/terrain-data-for-offline-application/15146/3 "2021-09-06T15:34:03Z")

</div>

There’s a “Cesium Terrain Builder” open-source tool that can ingest digital terrain data in common formats, and output Cesium terrain tiles. There’s also a prebuilt Docker image that someone is maintaining:

- [https://github.com/geo-data/cesium-terrain-builder](https://github.com/geo-data/cesium-terrain-builder)
- [https://github.com/tum-gis/cesium-terrain-builder-docker](https://github.com/tum-gis/cesium-terrain-builder-docker)

I was able to use the CTB tool a while back with the ALOS30 terrain dataset ( [ALOS Global Digital Surface Model "ALOS World 3D - 30m" (AW3D30)](https://www.eorc.jaxa.jp/ALOS/en/aw3d30/index.htm) ) , although I had to do a lot of preprocessing to make it work.

The tiles can be served directly off disk by any static file server, but I ended up putting them into an MBTiles-format SQLite container file and writing a small Python server that would query the tile data for each request and return it.

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [September 7, 2021, 7:45pm UTC](https://community.cesium.com/t/terrain-data-for-offline-application/15146/4 "2021-09-07T19:45:27Z")

</div>

@ZhefengJin @Mark_Erikson thank you for jumping in here - you both offered great suggestions!

-Sam
