swissgeol-viewer-app
swissgeol-viewer-app copied to clipboard
swissgeol.ch gives you insight in geoscientific data - above and below the surface
Swissgeol viewer
A Geology 3D viewer
Swissgeol is the new geology 3D viewer of Swisstopo, available at https://viewer.swissgeol.ch and developed by Camptocamp. It is Open Source and based on the Open Source CesiumJS 3D library.
You are welcome to use and adapt this software for your own uses; see LICENSE. If you want to get started off rapidly, Camptocamp offers support and expertise to meet your needs rapidly.
Your own version: getting started
git clone https://github.com/swissgeol/ngm.git
cd ngm
make run
open http://localhost:8000
Developing/deploying the Swisstopo version
See DEVELOPING.md. See DEPLOY_VIEWER.md. See DEPLOY_ABBREVIATOR.md.
URL Parameters
A few URL parameters will modify the behavior of the viewer:
noLimitdisable the navigation limits (sphere and lava). Use noLimit=false to enforce limits on local dev.ionAssetIdsdisplay some additional Cesium ION 3dtilesets (coma separated list of CesiumIon ids)ionTokenoptional token to access Cesium ION 3dtilesetsinitialScreenSpaceErrordefine the visual quality (default: 10000)maximumScreenSpaceErrordefine the visual quality (default: 2.0 except for localhost which is 20.0)ownterrain=falsedisables the terrain (mind that their is only data in the swissrectangle)ownterrain=cli_ticino_0.5m' use the 0.5m terrain generated using Cesium CLI (for testing only - only around Ticino)ownterrain=cli_walensee_0.5m' use the 0.5m terrain generated using Cesium CLI (for testing only - only around Walensee)swissrectangle=falsedo not restrict rendering to the Swiss rectanglenorequestrendermodedisable the resource optimizations (will use 100% CPU)inspectordisplay the Cesium Inspector widgetinspector_wireframeenable the wireframe modedatea date to be used for illumination (default to "2018-06-21T10:00:00.000Z")lighta white light source from infinity (ex: 1-2-0-1000 will have direction (1, 2, 0) and intensity 1000)cesiumToolbardisplay configuration panel for fog, ambient, background color and terrain underground color
Notes
Keyboard layout made with keyboard-layout-editor and json to import