Adding a WMS/WFS feed to QGIS

Adding a WMS/WFS feed to QGIS

Overview

A Web Map Service (WMS) is an online data feed that can be connected to desktop or web-based GIS software to view digital maps without having to download the full dataset.

A Web Feature Service (WFS) is the same as WMS, except it will download parts of the datasets in vector format for each call that's made.

WMS is used if you want to only view and interrogate the data. WFS is used if you want the actual data for perform analysis or editing on.

Your WMS feed details will consist of three components:
  1. A URL; e.g. https://customerdata.xmap.cloud/wms
  2. A Username
  3. A Password
A WMS feed can consist of multiple map datasets, so if you've requested more than one dataset you may still only receive one URL.

Adding WMS/WFS credentials to QGIS

To add your WMS credentials to QGIS:
  1. Open QGIS Desktop
  2. Go to VIEW, PANELS then tick on BROWSER if it's not already selected.
  3. In the Browser panel, scroll down to "WMS/WMTS"
  4. Right-click "WMS/WMTS" and select NEW CONNECTION
  5. In the pop-up panel, give your credentials a name. This should be a descriptive name for the feed, e.g. "XMAP Data Feeds - Customer Data"
  6. Add the URL provided to you in the URL box
  7. Under AUTHENTICATION, switch to the BASIC tab and paste in your username and password.
  8. Click OK to close the panel.
Repeat the same process for WFS, instead for steps 3-4 where you need to find the "WFS/OGC API - Features" section.

Loading a dataset from WMS/WFS into QGIS

To load a map from a data feed:
  1. Expand the new WMS/WFS credentials that you've added to the Browser panel and find the dataset you want to add.
  2. Double-click or drag the layer name into the Layers panel

FAQs

The URL won't show a map in your web browser. Follow the steps above to add the credentials to your desktop GIS.

The WMS shows the correct styling but the WFS is grey.

WMS carries the styling set by the data provider, whereas WFS just delivers the data without styling. This means you can style the WFS as you like, but the WMS styling is fixed.

The credentials I've been sent don't work.

It's possible that when you pasted the password it also pasted a trailing space. Go back and check the username and password in the Browser panel.

    • Related Articles

    • OS PSGA WMS/WFS Feeds

      If your subscription includes it, OS Mapping is available via our own web services. The URL's are: Service URL WMS https://feeds.xmap.cloud/wms WFS https://feeds.xmap.cloud/wfs If your subscription includes access to these services, you will be ...
    • Print issues with WMS basemaps in QGIS

      Print issue - only half the map is showing: If you come across an issue with QGIS and using XMAP WMS base-mapping feeds, where by a print export is only producing only half a base-map image then there are two options to fix this. The reason for this ...
    • Creating Hub Open Data feeds

      Populating the Source table: To published a new Open-Data set to the Hub Open-Data pages you need to update the gx_hub.open_data source table. There are various ways to do this either through Dbeaver, PG-Admin or QGIS. Please contact your Account ...
    • Connecting to XMAP Layers externally

      Overview XMAP has the functionality to give access to XMAP-hosted Map Layers through three methods: QGIS QLR file (using WFS-T) WMS WFS These options give you the ability to view and edit XMAP-hosted Map Layers in a variety of desktop GIS software. ...
    • QGIS Connector

      Overview This add-on for XMAP Cloud GIS allows layers to be viewed in QGIS. The layer can be edited and saved directly to your XMAP Cloud GIS account without downloading and re-uploading the data. Setup QGIS There are no plugins needed for viewing an ...