Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to analyze mbtiles slices in Geoserver

Shulou Source: shulou.com Published: 2022-06-01 06:36:57 09月26日 Update

How to analyze mbtiles slices in Geoserver, I believe many inexperienced people are helpless about this, for this reason this article summarizes the causes and solutions of the problem, through this article I hope you can solve this problem.

mbtiles is a sqlite database, used to store slice map data according to a certain organizational format, commonly used in stand-alone, mobile terminal map packages, in the release of map data, compared with direct slice file data, with unified storage, easy to move copy.

Geoserver directly publishes mbtiles 'slice database through extension plug-ins, and publishes data into services such as wms and wmts.

When installing mbtiles plug-ins, make sure to install the corresponding Geoserver WPS extension first, which can be seen in the Geoserver extension.

Then download the corresponding version of mbtiles module plug-in and put it in the WEB-INF/lib directory installed by Geoserver. After the plug-in installation is completed, restart Geoserver and you can see the data source configuration of mbtiles in Geoserver's data source.

Add a new Geoserver data source:

Data source name must be filled in

URL must be filled in. If it is an absolute path, the format of url is file:C:\Data\landbase.mbtiles. If it is placed in the data directory of Geoserver, it can be filled in file:data/landbase.mbtiles according to the relative path.

Wmts access data and url, which is commonly used in 2d, 3d maps have access interface.

Note: When using wms to access published mbtiles data, Geoserver will not return data when the zoom level is high and the range is large. It should be a display with the number of processed slices inside.

After reading the above content, do you know how to analyze mbtiles in Geoserver? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!

Tags: Data maps plug-ins data sources formats analysis content commonly used databases methods more directories paths problems storage movement helplessness for this stand-alone reasons Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MySQL Microsoft macOS MariaDB