New answers tagged

1

use the following function to toggle the terain function toggleTerain(){ var scene = ol3d.getCesiumScene(); var terrainProvider; if (scene.terrainProvider._url){ //add a simple terain so no terrain shall be preseneted terrainProvider = new Cesium.EllipsoidTerrainProvider({}); } else { //enable the terain terrainProvider = new ...


10

There is a difference, and I recommend the typology presented by Lindsay (2015) be used. Lindsay (2015) presents a typology which defines a pit as a single cell in a DEM whose elevation is below that of the surrounding cells and a depression as a region of cells which drain inwards to a pit. This is consistent with the definitions used by O'Callaghan and ...


0

Polygons don't automatically pick up terrain height values when you enable Cesium terrain. You need to set entity.polygon.height for each polygon, and also add that same height to your existing entity.polygon.extrudedHeight. In other words, extrudedHeight is the absolute height (above WGS84) of the top of the extrusion, so if you have a building of fixed ...



Top 50 recent answers are included