About 10 months ago, I had done some work to gather a bunch of SRTM data and convert it to a format that is usable by Cesium. We set up a custom terrain server and we were able to serve and view our custom terrain tiles.
More recently, the need for a custom terrain server has come back and what I had worked on is finally being put to use. We have encountered some problems that we were not getting before, however. I believe our terrain server is setup correctly, but we are getting errors when trying to load in custom terrain. We are working with Cesium-b28 on a Windows 7 machine (previously we were working with b18). I am assuming there have been changes to the Cesium source code, possibly the Cesium terrain tile format, and perhaps the CesiumTerrainProvider since then.
I have created a Sandcastle example that is a modified version of the Terrain example. It sets up a new CesiumTerrainProvider and sets the url to the path of the terrain data on my server.
I am getting the following error when trying to use a custom terrain provider:
"An error occurred in "CesiumTerrainProvider": An error occurred while accessing http://[machine address here]/Apps/TerrainData/layer.json."
It seems to be looking for a file "layer.json" that I do not have inside of my TerrainData folder. I did not have this previously (10 months ago) and everything worked fine. What is this file? Is there an example that I can look at to create one myself?
I wish I could provide a screenshot of the contents of the TerrainData folder. Basically it contains 0-9 folders, a doc.kml, openlayers.html, and tilemapresource.xml, but no "layer.json".
Thanks a lot in advance!