my own quantized mesh as terrain #5006
-
Hi there. This is my first question in this discussion. We just started using Terria.io and I have one question regarding terrain data. So, we have a quantized mesh dataset with layer.json. I tried to use our own terrain data with following statement in my terria.json file.
https://gitter.im/TerriaJS/terriajs?at=5d06f79ea8d9871b329e7b20 Please help me! Thank you. Hiroo |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I think you need to ensure your data are in Cesium terrain format per https://cesium.com/docs/cesiumjs-ref-doc/CesiumTerrainProvider.html You may be able to upload a more generic data set like a raw DEM to Cesium Ion for this conversion. |
Beta Was this translation helpful? Give feedback.
-
To add to @RussellGrew's answer, your data needs to be in one of the terrain formats supported by a TerrainProvider class Cesium. Have a look at the list on the left-hand side here. Cesium terrain is one of them, as well as ArcGISTiledElevation and some others. If your format isn't supported, you could potentially implement your own TerrianProvider. |
Beta Was this translation helpful? Give feedback.
-
@KeyboardSounds Is there a description of propper way to make Terria use our own terrain files on |
Beta Was this translation helpful? Give feedback.
To add to @RussellGrew's answer, your data needs to be in one of the terrain formats supported by a TerrainProvider class Cesium. Have a look at the list on the left-hand side here. Cesium terrain is one of them, as well as ArcGISTiledElevation and some others. If your format isn't supported, you could potentially implement your own TerrianProvider.