I would like to work with Cesium (www.cesiumjs.org) without any internet connection. The documentation provide a guide for working offline and prvides a way to import tiles (see https://github.com/AnalyticalGraphicsInc/cesium/wiki/Offline-Guide). However this way does not import data to be used by the TerrainProvider.

Is there a way to provide the data locally or via local cache? I know of the small terrain from http://cesiumjs.org/data-and-assets/terrain/small-terrain.html , However I need a finer terrain detail.


You will have to serve the tiledata somehow to your application. The STK Terrain Server is one solution that both creates and hosts tilesets. It is not uncommon to have the terrain server hosting terrain and serving it to a Cesium app running on the same machine.

Note that the STK Terrain Server is a commercial application built by the primary backers of Cesium. We do offer demo licenses if you'd like to try it out.

  • Is there an option to do so without the STK terrain server? I might not have the processing power to run STK terrain server on the machine. Also - are you working for AGI? – Henry Aloni Aug 10 '15 at 6:28
  • 1
    Hi, yes I do work for AGI. There is very little computation involved in hosting the terrain. All processing is done upfront when you're building the tileset. Once you have a tileset, the Terrain Server simply fetches the tile data from the database and sends it to the client. – Alex Wood Sep 24 '15 at 13:18
  • I can confirm your solution works. I was hoping for something sipler though ;) – Henry Aloni Sep 24 '15 at 13:55
  • 2
    using docker it is not complicated: "docker run -d --name cesium-terrain-server -p 8080:80 -v /MYHOSTGEODATA/tilesets/terrain:/data/tilesets/terrain geodata/cesium-terrain-server:v0.4.0" I use 0.4 because the newer versions are missing a webserver. I'm looking into it. see hub.docker.com/r/geodata/cesium-terrain-server – mbernasocchi Oct 29 '15 at 12:39

create some TMS, Google XYZ or mbtiles with map tiler or tilemill and serve those locally with tileserver-php or portable basemap server as a WMTS

  • Care to add some links? I am playing with geoserver to get some results... – Henry Aloni Dec 8 '15 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.