QGIS
  • 12 Feb 2023
  • 3 Minutes to read
  • Dark
    Light
  • PDF

QGIS

  • Dark
    Light
  • PDF

Article summary

The tutorial page includes the following sections:


Setting up a WMS Service

All you will need is an API Key and this URL:

https://api.metromap.com.au/ogc/key/{YOUR_API_KEY}/service?REQUEST=GetCapabilities

Your API key will be provided in the Email from us.

You will need to have a MetroMap Enterprise, or Partner plan to access MetroMap APIs


Setup Steps

Follow these steps to set up QGIS 3.28 WMS integration:

  1. Open QGIS. Click on the Layer menu, select Add Layer, and choose Add WMS/WMTS Layer...
    1

  1. In the WMS/WMTS window, click New.
    2

  1. In the Create a new WMS connection window:
    • At Name, enter any name you want.
    • At URL, enter the WMS URL including your API Key. For example: https://api.metromap.com.au/ogc/key/afas679g2g4ghjiom0455no6b/service?REQUEST=GetCapabilities
    • Username and Password fields are not required.
    • Then click OK
      3

  1. Back to the WMS/WMTS window, click connect.
    4

  1. Select a map layer by a single click.
  2. When you finish selecting a layer, click Change to set the coordinate reference system to use.
  3. For the Coordinate Reference System option, choose the map projection you want via the Select CRS menu (the globe icon button). Once you find your desired projection, select it and click OK.

    Make sure to the Coordinate Reference Systems are the same between the Layer and QGIS software. WGS 84 / Pseudo-Mercator EPSG:3857 in this particular example.

  4. Back to the WMS/WMTS window, we recommend JPEG is selected for Image encoding. PNG format is also available and has higher image quality, but will affect the performance and will create a large amount of data downloaded. Click Add once then click Close.
    5

  1. Right-click the layer, and click Zoom to Layer.
    6

  1. Higher resolution imagery will be shown when you zoom in.
    7

Back to Top


Setting up a WMTS Service

Similar to the WMS services, you will need an API Key, but a different URL:

https://api.metromap.com.au/ogc/key/YOUR-API-KEY/service?REQUEST=GetCapabilities&SERVICE=WMTS

Setup Steps

Follow these steps to set up QGIS 3.28 WMTS integration:

  1. Open QGIS. Click on the Layer menu, select Add Layer, and choose Add WMS/WMTS Layer...
    1

  1. In the WMS/WMTS window, click New.
    2

  1. In the Create a new WMS/WMTS connection window:
    • At Name, enter any name you want.

    • At URL, enter the WMTS URL provided below (with your API key included):
      https://api.metromap.com.au/ogc/key/YOUR-API-Key/service?REQUEST=GetCapabilities&SERVICE=WMTS

    • Then click OK
      3


  1. Back to the WMS/WMTS window, click connect.
    4

  1. You will be brought to Tilesets and letting you to choose the Layers, MetroMap provides a variety of layers, so choose the one you prefer. Then click Add once and click Close.
    41

  1. Right-click the layer, and click Zoom to Layer.
    6
  2. Higher resolution imagery is served on demand as you zoom and pan.
    7

Back to Top


Adding StreetMap Layer

  1. Select the layer in the Browser window to load the imagery. If you would like to observe a street map under the imagery layer, expan XYZ Tiles list, right click OpenStreetMap and select Add Layer to Project.
    12
    Back to Top

  1. Make sure the MetroMap Imagery Layers is on the top of other layers so you can see the imagery.
    9

Back to Top


Display Browser & Layer view

If the Browser window and Layers window not showing on your QGIS layout, click on the View menu, select Panels, then choose Browser and Layers.
8

Back to Top


Importing Image files into QGIS

If you have used Clip It! tool or Download Image tool from MetroMap website and you want to project this image onto QGIS, the following steps will help you through.

Note: Please be sure to download the image with the georeferenced option selected. Images without georeferencing can be loaded but have a higher chance of being displayed incorrectly.

  1. Click on the Layer menu, click Data Source Manager
    Annotation 2020-03-16 130323

  2. In the Data Source Manager window, choose Browser on the left side, and locate the file you download on the right side.
    Annotation 2020-03-16 130324

  3. Right click the file you have found, and click Add Layer to Project, and make sure the image layer is on top of the street map layer.
    Annotation 2020-03-16 130325

  4. The image should have shown on the map now.
    Annotation 2020-03-16 130326

The Coordinate Reference Systems should be the same between the Layer and QGIS software. WGS 84 / Pseudo-Mercator EPSG:3857 in this particular example.
Please note that our MetroMap system provide various projection systems.
For more introduction about Projection Systems, please refer to Clip It!.

Back to Top