10.4. QuickMapServices
Note
Qt6 compatible
With this plugin you can quickly add a basemap to you QGIS project. Raster basemap is often the first layer to be added to a project. You can add OpenStreetMap layer, UTM zones borders etc.
Basemap can be in the form of a Web service: TMS, WMS, WMTS, ESRI ArcGIS Service, or symply XYZ tiles.
You can search for any service added to QMS database by using the search bar Pic. 10.8.. Most used basemaps are gathered in he QuickMapServices dropdown menu.
Full catalog of QuickMapServices is available on https://qms.nextgis.com/. You can add your own basemaps to the catalog.
10.4.1. How to add basemaps and other services to QGIS
After the plugin is installed its buttons appear in the Web Toolbar (you can move the buttons to another panel in the Settings). Also QuickMapServices submenu will be added to the Web menu.
Activate the
QMS search panel. Enter the name of the service you want to find or some key words into the search bar (try “Openstreetmap”, “Mapnik” or “UTM”), then double-click the service to add it to the map or click Add.
Pic. 10.8. QMS search panel
Click Filter by extent to only display the layers that contain the area visible on the map in QGIS. Not all the layers in QMS database have specified extent, but you can add it yourself. Not all the layers in QMS database have specified extent, but you can add it yourself.
Basemap is added to project as a raster layer (see Pic. 10.9.)
Pic. 10.9. Basemap and a layer of UTM zones
You can check out how the plugin works in our video:
Watch on youtube.
Another way to add a basemap is to pick one of the services from the plugin menu. Click
on the Web toolbar or go to Web ‣ QuickMapServices.
Click on a service to add it to the project.
You can modify the contents of this menu in the plugin settings.
10.4.2. Settings
To open the plugin settings, go to Web ‣ QuickMapServices ‣ Settings or open Settings from the plugin menu.
10.4.2.1. General settings
On this tab you can activate one of the options:
Automatically reproject to EPSG: 3857 Pseudo Mercator;
Enable plugin debug messages. If this option is enabled, the messages are shown in the QGIS message center. By default they are displayed in a pop-up window.
Pic. 10.11. General settings
10.4.2.2. Add/Edit/Remove
On the second tab you can add services to the plugin menu.
You can create a new service in one of the existing groups or add a new group.
To create a new group, click on the green plus in the top half of the tab. Set an ID and an alias that will be displayed in the menu.
Pic. 10.12. Creating a new service group
To create a new service, click on the green plus in the bottom half of the tab.
Pic. 10.13. Creating service in the group
Set an ID and an alias that will be displayed in the menu.
Pick the group in which to include the service.
Select the service type: WMS, TMS, GDAL, WFS, GeoJSON.
On the next tab you can add lisencing information.
Note
If you plan to make a derivative work based on a basemap added from the Internet, please read the terms of use for that basemap so as not to violate copyright laws. If you use OSM Mapnik, all you need to do is add «© OpenStreetMap contributors (osm.org)». Other basemaps and satellite images may have more restrictions.
On the third tab:
Add service URL;
Enter the numeric code of the CRS (e.g. 3857 for EPSG:3857 (WGS 84 / Pseudo-Mercator).
Pic. 10.14. TMS service parameters
Click OK to complete the service creation.
Pic. 10.15. New service in the QMS menu
If you want to share the service with other users, you can add it to the public QuickMapServices catalog.
Click
on the Web toolbar or go to Web ‣ QuickMapServices and select Add to Search.
Pic. 10.16. Adding service to the public catalog
It opens QuickMapService page in your browser, allowing you to create a new publicly available service that other users would access via QMS search.


