Integrating quantized mesh data

153 views
Skip to first unread message

Eylül

unread,
Feb 26, 2019, 1:24:12 PM2/26/19
to cesium-dev
Hello,

assuming that I generated the quantized mesh data using https://github.com/tum-gis/cesium-terrain-builder-docker, could you tell me how I can integrate it into CesiumJS and see the terrain on the globe?

I tried the following inside the viewer, but it didn't work:

terrainProvider: new Cesium.CesiumTerrainProvider({
  url
: "data/terrain"
}

I am using CesiumJS 1.50 on Ubuntu 16.04.

Thanks.




hol...@coast3d.com

unread,
Feb 26, 2019, 9:37:17 PM2/26/19
to cesium-dev
Do you have error message like this??

'
An error occurred in "w": Failed to obtain terrain tile X: 1 Y: 0 Level: 0.
Cesium.js:459 An error occurred in "w": Failed to obtain terrain tile X: 0 Y: 0 Level: 0.
'

If yes, i have same problem with you

Eylül

unread,
Feb 27, 2019, 4:17:40 AM2/27/19
to cesium-dev
Hello, a very similar one:

Cesium.js:452 An error occurred in "w": Failed to obtain terrain tile X: 1 Y: 0 Level: 0.
Cesium.js:452 An error occurred in "w": Failed to obtain terrain tile X: 0 Y: 0 Level: 0.

Eylül

unread,
Feb 27, 2019, 11:30:44 AM2/27/19
to cesium-dev
I converted the data also to "Terrain" format and I got the same result. Should these data be served in a specific way, instead of just a directiory?

hol...@coast3d.com

unread,
Feb 27, 2019, 8:44:32 PM2/27/19
to cesium-dev
I don't know why this is happen.
So temporarily, i just using Cesium ion

Omar Shehata

unread,
Feb 28, 2019, 7:39:10 AM2/28/19
to cesium-dev
Presumably if it's outputting correct quantized-mesh it should render fine in Cesium. This might be an issue on their side, so you should open a GitHub issue on the cesium-terrain-builder project if you haven't already.

If you just need to create quantized mesh you could just upload it to ion (https://cesium.com/ion/) as mentioned earlier. All of ion's tools are also available locally as CLIs as well (https://cesium.com/docs/on-premise/).

Eylül

unread,
Mar 20, 2019, 5:31:49 AM3/20/19
to cesium-dev
For anyone who might have the same problem, I solved it by using https://github.com/geo-data/cesium-terrain-server.
Reply all
Reply to author
Forward
0 new messages