# heremaps_quantized-mesh-decoder **Repository Path**: mirrors-gis/heremaps_quantized-mesh-decoder ## Basic Information - **Project Name**: heremaps_quantized-mesh-decoder - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Quantized Mesh Decoder =========================================== JavaScript decoder for the [Quantized Mesh format](https://github.com/AnalyticalGraphicsInc/quantized-mesh). Note: This is experimental code, expect changes. ## Installation ### In Node.js The module is installable via yarn (or npm): ```sh yarn add @here/quantized-mesh-decoder ``` ```sh npm install @here/quantized-mesh-decoder ``` ### API Reference ```javascript import decode from '@here/quantized-mesh-decoder' decode(buffer, options) ``` * buffer: [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) * options: [DecoderOptions](#decoderoptions) ##### DecoderOptions * maxDecodingStep: Number Limits how deep decoder should go. Takes of the properties of the `DECODING_STEPS` map. See `import { DECODING_STEPS } from '@here/quantized-mesh-decoder' `. Default: `DECODING_STEPS.extensions`. ### Links * [Quantized Mesh Specification](https://github.com/AnalyticalGraphicsInc/quantized-mesh) * [Quantized Mesh Viewer](https://github.com/heremaps/quantized-mesh-viewer) * [TIN Terrain](https://github.com/heremaps/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](https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Terrain.html) - `./src/assets/tile-opentin.terrain`: [Open data](ftp://geoftp.ibge.gov.br//modelos_digitais_de_superficie/modelo_digital_de_elevacao_mde/rj25/tif/mde_27453ne_v1.zip) from brazilian government [IBGE](https://ww2.ibge.gov.br/english/), processed using [TIN Terrain](https://github.com/heremaps/tin-terrain) ### License Copyright (C) 2018-2019 HERE Europe B.V. See the [LICENSE](LICENSE) file in the root of this project for license details.