mapbox / mapbox/vt-pbf

Encoding issue when using 3.01

Open
#24 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
206
Forks
38
PR merge metrics
No merged PRs in 30d

Description

The following geojson-vt and vt-pbf versions ouput a .pbf with a non-encoded buffer, :
"geojson-vt": "2.4.0",
"vt-pbf": "3.0.1"

Whereas the following versions ouput properly encoded PBFs:
"geojson-vt": "^2.4.0",
"vt-pbf": "^2.1.2"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported output using geojson-vt 2.4.0 with vt-pbf 3.0.1, then compare it with geojson-vt 2.4.0 and vt-pbf 2.1.2. Trace the serialization behavior responsible for the encoding difference and confirm that the affected dependency combination produces properly encoded PBF output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.