You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there!
const viewer = new Viewer('cesiumContainer', {
terrainProvider: await CesiumTerrainProvider.fromUrl(
'http://localhost:8003/terrain',
),
});
I have built tiles using Cesium Tile Builder and using them on CesiumJS like this. I can get the tileset but this is the error I get:
"An error occurred in "CesiumTerrainProvider": Failed to obtain terrain tile X: 0 Y: 0 Level: 0. Error message: "RangeError: Invalid typed array length: 8894653434""
Because of that I was trying to use Cesium Tile Server but Docker container for that has some issues. :(
Would be happy if you write a response here in case you find a solution.
Thanks!
Hello.
I’m using Cesium js. and i’m planning to use cesium-terrain-server.
Because I have fine DEM of South Korea.
so I installed Go language, and pull git in my server.
I can reach this data in website.
Here is Log
and website capture.
Terrain data was made by ctb-tiles(Cesium Terrain Builder).
But in Cesiumjs, i failed to load data.
var terrainProvider = new Cesium.CesiumTerrainProvider({
url: 'http://URL:PORT/customTileset/',
});
viewer.scene.terrainProvider = terrainProvider;
It doesn’t even import the layer.json file.
I checked Chrome dev mode in network tab.
I can reach with browser. it means server and ports are fine.
I can even check the file with the browser.
But i failed to get data in cesium js.
How can i fix it?
Please help.
Regards.
The text was updated successfully, but these errors were encountered: