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

MBTiles generated through Tilebundler won't allow correct 'Zoom To Data' by default #163

Open
BirdSamuel opened this issue Sep 1, 2015 · 0 comments

Comments

@BirdSamuel
Copy link
Member

Once creating an MBTiles through Tilebundler, then publishing it through GeoServer, the bounds are the size of the world by default. A fix for this is at the end of this post.

Steps to recreate:

  • Generate MBTiles through Tilebundler
  • Go to Stores on GeoServer
  • Add New Store
  • Make new MBTiles Store (if the option isn't there, you'll need to install the plugin - which I can document if anyone is interested)

Then before saving the MBTiles Layer - it's lat/lon bounding box will be something like:
[-180, -85, 180, 85] ~ (all approximate numbers, but this is about the size of the entire world in lat/lon)

If you want the Zoom To Data command on MapLoom to work correctly, you must change it to the bounds generated with Tilebundler.

@BirdSamuel BirdSamuel changed the title MBTiles generated through Tilebundler won't allow correct 'Zoom To Data' MBTiles generated through Tilebundler won't allow correct 'Zoom To Data' by default Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant