Terrain by WMTS, WCS, WMS or WFS Server?

Hi, I'm still working through the proces of understanding how the Cesium's Terrainprovider works. Right now I'm reading some contradictory things about using WMTS for terraindata.

In the Netherlands, we have the AHN2 database that has very accurate height-data for the Netherlands. This data is served in WCS, WFS, WMS or WMTS Format, with the WMTS format being the closest (from what I've read so far) as being usable within Cesium to possible create terrain.

Are there any ways for me to use the WMTS server from that server to generate Terrain data on the fly for use in a terrainprovider?

Heerco

Hello,

Sorry, I’m not familiar with WMTS being used as a terrain format. We have WMTS imagery support.

For terrain, we support either a height map or quantized mesh format. We recommend using quantized mesh because it generally has better performance. You can use a CesiumTerrainProvider for that data format.

Here is some documentation on our terrain providers: http://cesiumjs.org/Cesium/Build/Documentation/TerrainProvider.html

And here is a terrain demo: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Terrain.html&label=Showcases

Best,

Hannah

Hello,
I wrote Cesium-GeoserverTerrainProvider which works with MS, WMTS and TMS. This is specific to geoserver because it can serve bil/DDS data (direct map with an arraybuffer waiting by cesium in HeightmapTerrainData). Nevertheless, you can adapt the code here for example to process your data.