1.2.8 • Published 5 years ago
@here/quantized-mesh-decoder v1.2.8
Quantized Mesh Decoder
JavaScript decoder for the Quantized Mesh format.
Note: This is experimental code, expect changes.
Installation
In Node.js
The module is installable via yarn (or npm):
yarn add @here/quantized-mesh-decodernpm install @here/quantized-mesh-decoderAPI Reference
import decode from '@here/quantized-mesh-decoder'
decode(buffer, options)- buffer: ArrayBuffer
- options: DecoderOptions
DecoderOptions
- maxDecodingStep: Number
Limits how deep decoder should go. Takes of the properties of theDECODING_STEPSmap. Seeimport { DECODING_STEPS } from '@here/quantized-mesh-decoder'.
Default:DECODING_STEPS.extensions.
Links
- Quantized Mesh Specification
- Quantized Mesh Viewer
- TIN Terrain — tool that generates Quantized Mesh tiles out of GeoTIFF
Sample Tiles Attribution
./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
License
Copyright (C) 2018-2019 HERE Europe B.V.
See the LICENSE file in the root of this project for license details.