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.
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:
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.