MapLoom is a web mapping client based on OpenLayers 3. It provides full-featured editing capabilities for data stores in GeoServer - including PostGIS and GeoGig. For GeoGig layers, it lets you view history, and sync with other GeoGig repositories
MIT License
70
stars
66
forks
source link
MBTiles generated through Tilebundler won't allow correct 'Zoom To Data' by default #163
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.