This article demonstrates how to open maps rendered by MapTiler in QGIS (formerly Quantum GIS): setting up a WMTS service, rendering the map in an MBTiles format, or by using a GeoPackage. All methods can be used in QGIS3.
Setting WMTS (Web Map Tile Service) is the most difficult but at the same time the most powerful method of using maps from MapTiler in QGIS. It allows multiple users to access the map at the same time without a need to distribute your map files. The downside is a bit higher complexity to set it up and a need to be connected to the internet.
In MapTiler, select the “Folder” rendering output method. After the rendering is done, copy the whole folder to the HTTP server (in most of the cases using an FTP client) and open it in your browser.
In the right menu, either click on the “WMTS” link in the top right corner, which leads to the XML GetCapabilities file and copy the URL, or click on the “Desktop” tab and in the Step by step guide for QGIS, copy the link which will generate on the very top of the page.
In QGIS, add a new WMS/WMTS layer (from the right menu, by navigating to “Layer” -> “Add Layer” -> “Add WMS/WMTS Layer…”, or by using Ctrl+Shift+W shortcut). The new window will pop up, click on “New”, populate the “Name” field with your preferred name and “URL” by XML’s URL, and confirm. The new layer will be available in the Browser panel.
MBTiles is a file format for storing map tiles in a single file using SQLite database. It can be set as an output in MapTiler and loaded in QGIS. The usage doesn’t require an internet connection.
Loading MBTiles in QGIS is simple: you just drag and drop it into the main window and it will be added to activated layers.
GeoPackage is an open standard data format for exchanging geographic information. The implementation contains a simple SQLite database container. It can also be used offline.
Loading GeoPackage in QGIS is simple: you just drag and drop it into the main window, a new window will pop up asking you which projection you want to use. After you select the desired projection and click “OK”, it will be added to activated layers.