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

unable to process mbtiles from openmaptiles.org #11

Open
medlemark opened this issue Apr 2, 2017 · 4 comments
Open

unable to process mbtiles from openmaptiles.org #11

medlemark opened this issue Apr 2, 2017 · 4 comments

Comments

@medlemark
Copy link

medlemark commented Apr 2, 2017

i used *.mbtiles downloaded from https://openmaptiles.org but without luck and i tried accessing the tiles by Visiting http://localhost:3000/3/1/2.png it shows error and i have question ,can i use it for rendering leafletjs map offline ?

@nouryf
Copy link

nouryf commented Apr 28, 2017

Hi,

The 'openmaptiles' are vector tiles, so instead of 2.png, try 2.pbf.

@thomasbrueggemann
Copy link

That cannot work, from looking at the code the extension if hardcoded in a switch/case statement and pbf is not one of the cases...
https://github.com/chelm/mbtiles-server/blob/master/server.js#L21

@nouryf
Copy link

nouryf commented Jul 23, 2017

Sorry. Yes you're correct @thomasbrueggemann. Try instead this fork that support pbf: https://github.com/tobinbradley/mbtiles-server

The script file is named index.js and it does support pbf.

@thomasbrueggemann
Copy link

Thanks for sharing - I was looking for a pbf version as well :)

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