How-to

Open maps from MapTiler in QGIS

How to open maps from MapTiler in QGIS

Users have three options how to open maps rendered by MapTiler in QGIS (formerly known as Quantum GIS): setting WMTS service, rendering the map in an MBTiles format or by using GeoPackage. All method can be used in both QGIS2 as well as QGIS3.

WMTS

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

Loading WMTS in QGIS

MBTiles

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.

Loading MBTiles in QGIS

GeoPackage

GeoPackage is an open standard data format for exchange geographic information. The implementation contains 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 desired projection and click “OK”, it will be added to activated layers.

Loading GeoPackage in QGIS