Skip to content
New issue

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

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

Already on GitHub? # to your account

Making Blank mbtiles #61

Closed
moccand opened this issue Jan 31, 2019 · 1 comment
Closed

Making Blank mbtiles #61

moccand opened this issue Jan 31, 2019 · 1 comment

Comments

@moccand
Copy link

moccand commented Jan 31, 2019

My process is to make 1 mbtiles file for each WMS i need (20) and then merge those files together.
To do so i need to get at least one mbtiles (use as base) with my full project coverage (see #19 ).

But calling one WMS on a coverage that is not relevent make the process very slow (so many calls made just for a blank png). So i wonder if building a "blank" mbtiles would help me.

=> is it possible to create mbitiles over a predefined bbox, for n zoomlevels and only blank tiles ? In my process i would have 1 "blank" mbtiles that will be used to merge 20 "real" mbtiles.

@leplatrem
Copy link
Collaborator

Some ideas that come into my mind:

  • create a Mapnik stylesheet that renders nothing and generate a MBTiles for the area that you need
  • or create a blank tile PNG and write a little script that will create folders and symlinks to it. Then pack the whole folder tree as a MBTiles
  • or put a white background in the map view that is going to show the MBTiles :)

@moccand moccand closed this as completed Sep 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants