[Cesium-3D] Does MapStore Maps suports elevation for Base Maps?

91 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

Ricardo Ponte

unread,
Jul 13, 2023, 11:27:58 AM7/13/23
to mapstore-developers
Hello everyone,

After visiting the DEV instance of MapStore, specifically the 3D Viewers, I was wondering if MapStore supports elevation in Base Maps?

I'm working with MapStore v2023.01.00, and I was curious if this was possible after looking at this part of the localConfig.json file:

    "defaultMapOptions": {
      "cesium": {
          "flyTo": true,
          "navigationTools": true,
          "showSkyAtmosphere": true,
          "showGroundAtmosphere": false,
          "enableFog": false,
          "depthTestAgainstTerrain": false,
          "terrainProvider": {
              "type": "ellipsoid"
          }
      },
      "floatingIdentifyDelay": 1000
    }


Lorenzo Natali

unread,
Jul 14, 2023, 3:59:23 AM7/14/23
to mapstore-developers
Hi,
it is possible using the special case of elevation layer. It can be used with terrain layer or BIL. 

Landry Breuil

unread,
Jul 20, 2023, 5:23:41 AM7/20/23
to mapstore-...@googlegroups.com
On 13/07/2023 17:27, Ricardo Ponte wrote:
> Hello everyone,
>
> After visiting the DEV instance of MapStore, specifically the 3D
> Viewers, I was wondering if MapStore supports elevation in Base Maps?

yes, you can use a pre-computed terrain cache, for example using
https://github.com/ahuarte47/cesium-terrain-builder/tree/master-quantized-mesh
- that's what we do with this config:

"terrainProvider": {
"type": "cesium",
"url": "https://3d.craig.fr/terrain",
"requestVertexNormals": true
}

you can also use cesium-ion provided terrains.

--
Landry Breuil
Reply all
Reply to author
Forward
0 new messages