Coder Social home page Coder Social logo

quantized-mesh-decoder's Introduction

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-decoder
npm install @here/quantized-mesh-decoder

API Reference

import decode from '@here/quantized-mesh-decoder'

decode(buffer, options)
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

Sample Tiles Attribution

License

Copyright (C) 2018-2019 HERE Europe B.V.

See the LICENSE file in the root of this project for license details.

quantized-mesh-decoder's People

Contributors

bbbbx avatar kylebarron avatar mykolaharmash avatar nicolasneubauer avatar tsteenbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quantized-mesh-decoder's Issues

Transpile to ES5?

Hello, currently this module and the published NPM module does not provide a transpiled version. Would you accept a PR to include a bundled version in the NPM package?

Publish quantized-mesh-decoder 1.1.3 to npmjs.com

This issue will be used to track open items to be resolved prior to publication

Issues found:

  • Update copyrights to 2019
  • Fix the various security vulnerabilities found by npm audit/yarn audit
  • Switch to yarn to align with harp.gl?

Invalid NPM module

The published NPM module is currently broken because dist/quantized-mesh-decoder.js is missing.

Given my changes in #23, you need to run yarn build or npm run build before publishing.

Missing dist/ folder:

> git clone https://github.com/heremaps/quantized-mesh-decoder
> yarn
> yarn pack
> tar -ztf here-quantized-mesh-decoder-v1.2.0.tgz
package
package/.travis.yml
package/CONTRIBUTING.md
package/LICENSE
package/README.md
package/karma.conf.js
package/package.json
package/rollup.config.js
package/src
package/src/assets
package/src/index.js
package/src/index.test.js
package/src/test-utils.js
package/src/assets/tile-opentin.terrain
package/src/assets/tile-with-extensions.terrain
package/src/assets/tile-with-metadata-extension.terrain

Included dist/ folder:

> git clone https://github.com/heremaps/quantized-mesh-decoder
> yarn
# Transpile with rollup
> yarn build
> yarn pack
> tar -ztf here-quantized-mesh-decoder-v1.2.0.tgz
package
package/.travis.yml
package/CONTRIBUTING.md
package/LICENSE
package/README.md
package/dist
package/karma.conf.js
package/package.json
package/rollup.config.js
package/src
# included dist file
package/dist/quantized-mesh-decoder.js
package/src/assets
package/src/index.js
package/src/index.test.js
package/src/test-utils.js
package/src/assets/tile-opentin.terrain
package/src/assets/tile-with-extensions.terrain
package/src/assets/tile-with-metadata-extension.terrain

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.