render multiple elevation terrain folders

1. A concise explanation of the problem you’re experiencing.

I have terrain data in DTED folders(each referring to a certain location as tile). I need to load multiple such terrain tiles

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

var viewer = new Cesium.Viewer(‘cesiumContainer’);
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
url : ‘…/Apps/terrain_Loc1’
});
viewer.terrainProvider = cesiumTerrainProviderMeshes;

var viewer = new Cesium.Viewer(‘cesiumContainer’);
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
url : ‘…/Apps/terrain_Loc2’
});
viewer.terrainProvider = cesiumTerrainProviderMeshes;

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I need an opensource solution, so converted my DTED data to .terrain data

4. The Cesium version you’re using, your operating system and browser.

1.42

Hi there,

In order to load terrain data, you’ll need to process and host it from a server configured to serve terrain tile request. Cesium ion launching May 1st will have these capabilities. Another commercially available product is the STK Terrain Server.

Thanks,

Gabby