[qgis-qwc2] Config wmts
Karl Magnus Jönsson
Karl-Magnus.Jonsson at kristianstad.se
Fri Apr 21 00:25:51 PDT 2017
Yes. Found out that geowebcache currently only supports KVP. I there a possibility to configure the background layer as a WMS with a specific extent, tilesizes and resolutions? I the case the bounds and size of WMS tile matches the gridset the tile is served as a cached tile though it is WMS. In Geoserver.
Karl-Magnus
Från: Andreas Neumann [mailto:a.neumann at carto.net]
Skickat: den 20 april 2017 19:02
Till: Karl Magnus Jönsson
Ämne: Re: [qgis-qwc2] Config wmts
Hi Karl-Magnus,
There are two ways to access WTMS: KVP (key value pairs) and RESTFul. See f.e. https://services.geo.zg.ch/tc/demo/
I was successful with the RESTFul way of accessing WMTS. Perhaps you tried with KVP?
Andreas
On 20.04.2017 13:47, Karl Magnus Jönsson wrote:
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<mailto: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
_______________________________________________
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/20170421/c2588f51/attachment.html>
More information about the qgis-qwc2
mailing list