Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload mapnik vector tiles to Mapbox #124

Open
alasarr opened this issue Apr 16, 2015 · 4 comments
Open

Cannot upload mapnik vector tiles to Mapbox #124

alasarr opened this issue Apr 16, 2015 · 4 comments

Comments

@alasarr
Copy link

alasarr commented Apr 16, 2015

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
@alasarr
Copy link
Author

alasarr commented Apr 16, 2015

It looks like the issue is because metadata table is empty. I've add metadata to the MBTiles manually and it works.

@springmeyer
Copy link
Contributor

@alasarr - thanks for reporting. This might be a bug, but I'm not sure. /cc @GretaCB

@alasarr
Copy link
Author

alasarr commented Apr 17, 2015

Do you know about a version where it worked?

@anandthakker
Copy link
Contributor

@alasarr I have something very similar to this (but using copy from the API rather than CLI) working and producing correctly uploadable tiles. What does your sample.xml look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants