mapbox / mapbox/tilelive

Cannot upload mapnik vector tiles to Mapbox

Open
#124 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
540
Forks
106
PR merge metrics
No merged PRs in 30d

Description

I've generated a MBtiles using tilelive-copy but I cannot upload to my Mapbox account. When processing it says:

```
Vector source must include "vector_layers" key
```

Is it normal that metadata and keymap tables are empties?

Do you see something wring here?

```
./tilelive-copy --bounds=-180,-85,180,85 --minzoom=2 --maxzoom=6 --metatile=8 \
bridge:///Users/alasarr/dev/tilelive.js/bin/sample.xml \
mbtiles:///Users/alasarr/dev/tilelive.js/bin/sample_vectortile.mbtiles
```

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

Start with the tilelive-copy command and the referenced bin/sample.xml, then inspect the generated bin/sample_vectortile.mbtiles database, especially its metadata and keymap tables. Compare the generated contents with the Mapbox error requiring a vector_layers key; done means determining whether the command produces a compatible upload or documenting the missing requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
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.