Giter VIP home page Giter VIP logo

cesium-bisag's Introduction

Cesium-BISAG

Experimentations with terrain elevation data for generating and serving 3D Tilesets

DESCRIPTION

This tool allows the user to visualise 2D height maps in 3D using the CesiumJS library.

PREREQUISITES

  • GeoServer v2.15.1
  • QGIS v3.4
  • pgAdmin4
  • PostgreSQL v9.6
  • PostGIS v2.3.9
  • Docker
  • Go
  • Cesium Terrain Builder
  • Cesium Terrain Server
  • Node Package Manager (NPM)
  • JDBC Image Mosaic Plugin extention (compatible with the GeoServer version)

Prerequisites Installation Guide:

Exract the JDBC Image Mosaic plugin zip contents into the directory geoserver-2.15.1/webapps/geoserver/WEB-INF/lib
Install Cesium Terrain Builder and Cesium Terrain Server using Docker
Cesium Terrain Builder requirements:

  • gdal version>=2.0.0 installed on system
  • gdal source developement header files
  • Cmake should be available on the system

Cesium Terrain server requirements:
system should have Go installed as the server is written in Go.

Setting up the terrain files for serving,

If the folder system is like this:

/data/files/
├── rasters
│   └── DEM.tif
└── tilesets
    └── terrain 

To create terrain tiles from DEM files,

  1. To load cesium terrain builder in docker, in the bash shell run:

    docker run -t -i homme/cesium-terrain-builder:latest /bin/bash

  2. To check that the cesium terrain builder has been sucessfully loaded, run:

    ctb-tile --version

  3. To mount data from host directory in the docker container, run:

    docker run -v /data/files:/data -t -i homme/cesium-terrain-builder:latest bash

    Here, the host directory /data/files is mapped to to /data in the container.

  4. To tile the file /data/rasters/DEM.tif, run the command:

    ctb-tile --output-dir /data/tilesets/terrain/test /data/rasters/DEM.tif

    You will find various .terrain files in the directory: /data/tilesets/terrain/test

To run the cesium terrain server to visualise the terrain tiles, run:

docker run -p 8080:8000 -v /data/docker/tilesets/terrain:/data/tilesets/terrain \ geodata/cesium-terrain-server

Enter http://localhost:8080/ in the web browser to visualise the served terrain using Cesium.

For bugs or issues, go to: Cesium Terrain Builder or Cesium Terrain Server

INSTALLATION

Download the source code from: Cesium-BISAG

USAGE

cesium-bisag's People

Contributors

narang99 avatar sheyril avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.