Update lerc version
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
The `lerc` package is still an outstanding direct dependency update and is pinned on 2.x.
The latest versions requires using wasm. It looks like, despite the fact that the wasm file included with the package is built to support multiple ways of loading the module, [the lerc API only exposes one way to load wasm files](https://github.com/Esri/lerc/blob/master/OtherLanguages/js/src/Lerc.ts#L153) and that way does not easily fit within our current worker architecture due to assumptions about the file structure, throwing errors when loading for `createVerticesFromHeightmap`.
Ideally, we'd be able to initialize the wasm module directly as we do with other third part wasm-based libraries.
Contributor guide
Research direction
Start with the lerc API's wasm-loading path in OtherLanguages/js/src/Lerc.ts and compare it with the existing worker architecture and other third-party wasm integrations. The work is done when the current lerc version can initialize wasm directly and createVerticesFromHeightmap loads without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100