Skip to main content

Overview

The @loaders.gl/terrain module reconstructs mesh surfaces from either height map images--e.g. Mapzen Terrain Tiles--which encode elevation into R,G,B values or the quantized mesh format.

Installation

npm install @loaders.gl/terrain
npm install @loaders.gl/core

Attribution

The QuantizedMeshLoader is a fork of quantized-mesh-decoder from HERE under the MIT license to decode quantized mesh.

The TerrainLoader uses MARTINI or Delatin for mesh reconstruction which are both under the ISC License.