[qgis-qwc2] Config wmts

Karl Magnus Jönsson Karl-Magnus.Jonsson at kristianstad.se
Thu Apr 20 04:47:31 PDT 2017


My requests from geoservers demo-page and QGIS against Geoserver (geowebcache) looks like this. Internal url:s. But they work.
QGIS:
http://sbkgeodata:8080/geoserver/gwc/service/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=geodata:turistkarta&STYLE=&FORMAT=image/png&TILEMATRIXSET=EPSG:3008ext&TILEMATRIX=EPSG:3008ext:2&TILEROW=12&TILECOL=19
Geoserver Demo:
http://sbkgeodata:8080/geoserver/gwc/service/wmts?layer=geodata%3Aturistkarta&style&tilematrixset=EPSG%3A3008ext&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng8&TileMatrix=EPSG%3A3008ext%3A2&TileCol=16&TileRow=6

QWC2 demo:
https://wmts20.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/2056/18/16/8.jpeg

Is there different ways to request wmts tiles?
Karl-Magnus

Från: qgis-qwc2 [mailto:qgis-qwc2-bounces at lists.osgeo.org] För Sandro Mani
Skickat: den 20 april 2017 13:10
Till: qgis-qwc2 at lists.osgeo.org
Ämne: Re: [qgis-qwc2] Config wmts


Hi

There are some WMTS exaples here in the demo app [1], you'll need to look at the WMTS capabilities of the WMTS service you want to use to find out the various parameter values.

Sandro

[1] https://github.com/qgis/qwc2-demo-app/blob/master/themesConfig.json

On 20.04.2017 12:17, Karl Magnus Jönsson wrote:
Hi!
Trying to add a wmts from GeoServer in my map. Is there an example of how to configure a wmts from GeoServer in themesConfig.json?

Karl-Magnus Jönsson | Gis-Utvecklare
Geografisk information
Miljö- och samhällsbyggnadsförvaltningen
Kristianstads kommun
Besöksadress: Västra Storgatan 12
Postadress: 291 80 Kristianstad
Telefon: 044-135416 | Mobil: 0733-135416
karl-magnus.jonsson at kristianstad.se
www.kristianstad.se<http://www.kristianstad.se>






_______________________________________________

qgis-qwc2 mailing list

qgis-qwc2 at lists.osgeo.org<mailto:qgis-qwc2 at lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/qgis-qwc2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20170420/7d228978/attachment-0001.html>


More information about the qgis-qwc2 mailing list