JavaScript decoder for the Quantized Mesh format.
Note: This is experimental code, expect changes.
The module is installable via yarn (or npm):
yarn add @here/quantized-mesh-decoder
npm install @here/quantized-mesh-decoder
import decode from '@here/quantized-mesh-decoder'
decode(buffer, options)
- buffer: ArrayBuffer
- options: DecoderOptions
- maxDecodingStep: Number
Limits how deep decoder should go. Takes of the properties of theDECODING_STEPS
map. Seeimport { DECODING_STEPS } from '@here/quantized-mesh-decoder'
.
Default:DECODING_STEPS.extensions
.
- Quantized Mesh Specification
- Quantized Mesh Viewer
- TIN Terrain — tool that generates Quantized Mesh tiles out of GeoTIFF
./src/assets/tile-with-extensions.terrain
: Cesium World Terrain from Cesium ion./src/assets/tile-opentin.terrain
: Open data from brazilian government IBGE, processed using TIN Terrain
Copyright (C) 2018-2019 HERE Europe B.V.
See the LICENSE file in the root of this project for license details.