Is it possible to use WMTS e.g. by http://data.wien.gv.at in QGIS?

I would like to import the data published by the City of Vienna as a layer in QGIS. Is this possible at all, and if yes, how do I do it? ich bin kein profi und bitte daher um unterstützung.

This is what I am talking about:


I could successfully load the WMS service, but I could not do the same with WMTS.


In QGIS 2.2.0 you can use the Add WMS/WMTS Layer menu option directly; then when you create a new connection you need to supply the url to the WMTS capabilities document.

When you connect to your WMTS, you then select the Tilesets tab option and select the layer you want to use.

Selecting the WMTS layer from the Tilesets list in QGIS 2.2.0


It looks like it could be possible if you modify the existing OpenLayers Plugin for QGIS to do this

You can get the source code for it at github to get an editable version: https://github.com/sourcepole/qgis-openlayers-plugin

You don't have to fork or clone with git account, they offer the source code in a zip/tarball for anyone to download.

You can see some instructions on how to add your own entry at theproject wiki for this plugin:

  • Add a HTML file with your layer in html/
  • *Register your layer in the __init__ method of class OpenlayersPlugin (openlayers_plugin.py)*

It looks like this plugin was used to make a new plugin recently added: TMS for Korean Users so mod away =)

And according to the GetCapabilities document of the WMTS you've pointed to, they offer the service in the Google Mercator projection so it should fit nicely without having to modify any SRS parameters in the OpenLayers plugin.

  • i'm completely new in the world of open gis so i'm sorry about not understanding a word. could you please explain that a bit simpler to me? thx.
    – stefan
    Feb 20 '13 at 9:03
  • No worries. I'll see what I can do to get it started. I've got the HTML part for OpenLayers almost done. I'll let you know how it goes.
    – SaultDon
    Feb 21 '13 at 2:18
  • hello, perfect!
    – stefan
    Feb 21 '13 at 9:15
  • Hi SaultDon - just wondered if you got anywhere with this. I have a WMTS that is not google projection, so How could i fix the projection declaration in the openlayers_plugin.py?
    – tjmgis
    Jul 4 '13 at 12:29
  • @tjmgis, I never got to finish this but did you try modifying the vars idEpsgRSGoogle and google_proj_def?
    – SaultDon
    Jul 5 '13 at 2:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.