From baf01a117b76bde0b7182f641c8ae08efb06c3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Fri, 17 Aug 2018 13:11:19 +0200 Subject: [PATCH 1/9] Add support for WMTS capabilites https://github.com/klokantech/tileserver-gl/issues/274 --- docs/endpoints.rst | 4 + public/templates/index.tmpl | 6 +- public/templates/wmts.tmpl | 407 ++++++++++++++++++++++++++++++++++++ src/server.js | 20 +- 4 files changed, 429 insertions(+), 8 deletions(-) create mode 100644 public/templates/wmts.tmpl diff --git a/docs/endpoints.rst b/docs/endpoints.rst index 0672f2515..b6d3bbd1a 100644 --- a/docs/endpoints.rst +++ b/docs/endpoints.rst @@ -21,6 +21,10 @@ Rendered tiles * The rendered tiles are not available in the ``tileserver-gl-light`` version. +WMTS Capabilities +============== +* WMTS Capabilities are served at ``/wmts/{id}/`` + Static images ============= * Several endpoints: diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 8b37ed1d6..3dcef0d71 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -40,8 +40,8 @@ {{#if serving_rendered}} {{#if serving_data}}| {{/if}}TileJSON {{/if}} - {{#if wmts_link}} - | WMTS + {{#if serving_rendered}} + | WMTS {{/if}} {{#if xyz_link}} | XYZ @@ -110,4 +110,4 @@

- + \ No newline at end of file diff --git a/public/templates/wmts.tmpl b/public/templates/wmts.tmpl new file mode 100644 index 000000000..f0570c6ca --- /dev/null +++ b/public/templates/wmts.tmpl @@ -0,0 +1,407 @@ + + + + + WMTSGate + OGC WMTS + 1.0.0 + + + + + + + + + + RESTful + + + + + + + + + + + + + RESTful + + + + + + + + + + localhost + localhost + + -180 -85.051128779807 + 180 85.051128779807 + + + image/png + + GoogleMapsCompatible + + + + GoogleMapsCompatible + GoogleMapsCompatible EPSG:3857 + GoogleMapsCompatible + urn:ogc:def:crs:EPSG::3857 + + 0 + 559082264.02872 + -20037508.34 20037508.34 + 256 + 256 + 1 + 1 + + + 1 + 279541132.01436 + -20037508.34 20037508.34 + 256 + 256 + 2 + 2 + + + 2 + 139770566.00718 + -20037508.34 20037508.34 + 256 + 256 + 4 + 4 + + + 3 + 69885283.00359 + -20037508.34 20037508.34 + 256 + 256 + 8 + 8 + + + 4 + 34942641.501795 + -20037508.34 20037508.34 + 256 + 256 + 16 + 16 + + + 5 + 17471320.750897 + -20037508.34 20037508.34 + 256 + 256 + 32 + 32 + + + 6 + 8735660.3754487 + -20037508.34 20037508.34 + 256 + 256 + 64 + 64 + + + 7 + 4367830.1877244 + -20037508.34 20037508.34 + 256 + 256 + 128 + 128 + + + 8 + 2183915.0938622 + -20037508.34 20037508.34 + 256 + 256 + 256 + 256 + + + 9 + 1091957.5469311 + -20037508.34 20037508.34 + 256 + 256 + 512 + 512 + + + 10 + 545978.77346554 + -20037508.34 20037508.34 + 256 + 256 + 1024 + 1024 + + + 11 + 272989.38673277 + -20037508.34 20037508.34 + 256 + 256 + 2048 + 2048 + + + 12 + 136494.69336639 + -20037508.34 20037508.34 + 256 + 256 + 4096 + 4096 + + + 13 + 68247.346683193 + -20037508.34 20037508.34 + 256 + 256 + 8192 + 8192 + + + 14 + 34123.673341597 + -20037508.34 20037508.34 + 256 + 256 + 16384 + 16384 + + + 15 + 17061.836670798 + -20037508.34 20037508.34 + 256 + 256 + 32768 + 32768 + + + 16 + 8530.9183353991 + -20037508.34 20037508.34 + 256 + 256 + 65536 + 65536 + + + 17 + 4265.4591676996 + -20037508.34 20037508.34 + 256 + 256 + 131072 + 131072 + + + 18 + 2132.7295838498 + -20037508.34 20037508.34 + 256 + 256 + 262144 + 262144 + + WGS84 + WGS84 EPSG:4326 + WGS84 + urn:ogc:def:crs:EPSG::4326 + + 0 + 279541132.01436 + 90 -180 + 256 + 256 + 2 + 1 + + + 1 + 139770566.00718 + 90 -180 + 256 + 256 + 4 + 2 + + + 2 + 69885283.00359 + 90 -180 + 256 + 256 + 8 + 4 + + + 3 + 34942641.501795 + 90 -180 + 256 + 256 + 16 + 8 + + + 4 + 17471320.750897 + 90 -180 + 256 + 256 + 32 + 16 + + + 5 + 8735660.3754487 + 90 -180 + 256 + 256 + 64 + 32 + + + 6 + 4367830.1877244 + 90 -180 + 256 + 256 + 128 + 64 + + + 7 + 2183915.0938622 + 90 -180 + 256 + 256 + 256 + 128 + + + 8 + 1091957.5469311 + 90 -180 + 256 + 256 + 512 + 256 + + + 9 + 545978.77346554 + 90 -180 + 256 + 256 + 1024 + 512 + + + 10 + 272989.38673277 + 90 -180 + 256 + 256 + 2048 + 1024 + + + 11 + 136494.69336639 + 90 -180 + 256 + 256 + 4096 + 2048 + + + 12 + 68247.346683193 + 90 -180 + 256 + 256 + 8192 + 4096 + + + 13 + 34123.673341597 + 90 -180 + 256 + 256 + 16384 + 8192 + + + 14 + 17061.836670798 + 90 -180 + 256 + 256 + 32768 + 16384 + + + 15 + 8530.9183353991 + 90 -180 + 256 + 256 + 65536 + 32768 + + + 16 + 4265.4591676996 + 90 -180 + 256 + 256 + 131072 + 65536 + + + 17 + 2132.7295838498 + 90 -180 + 256 + 256 + 262144 + 131072 + + + 18 + + 90 -180 + 256 + 256 + 524288 + 262144 + + + + \ No newline at end of file diff --git a/src/server.js b/src/server.js index db67be470..8d8ac3bd4 100644 --- a/src/server.js +++ b/src/server.js @@ -325,11 +325,6 @@ function start(opts) { Math.floor(centerPx[1] / 256) + '.' + data_.format; } - var query = req.query.key ? ('?key=' + req.query.key) : ''; - data_.wmts_link = 'http://wmts.maptiler.com/' + - base64url('http://' + req.headers.host + - '/data/' + id + '.json' + query) + '/wmts'; - var tiles = utils.getTileUrls( req, data_.tiles, 'data/' + id, data_.format, { 'pbf': options.pbfAlias @@ -374,6 +369,21 @@ function start(opts) { return res.redirect(301, '/styles/' + req.params.id + '/'); }); */ + serveTemplate('/wmts/:id/$', 'wmts', function(req) { + var id = req.params.id; + var wmts = clone((config.styles || {})[id]); + if (!wmts) { + return null; + } + if(wmts.hasOwnProperty("serve_rendered")&!wmts.serve_rendered){ + return null; + } + wmts.id = id; + wmts.name = (serving.styles[id] || serving.rendered[id]).name; + wmts.baseUrl = (req.get('X-Forwarded-Protocol')?req.get('X-Forwarded-Protocol'):req.protocol) + '://' + req.get('host'); + console.log(wmts) + return wmts; + }); serveTemplate('/data/:id/$', 'data', function(req) { var id = req.params.id; From 5d5ed1153fda3c9386bf19e22e6fbba63496c8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Fri, 17 Aug 2018 15:48:35 +0200 Subject: [PATCH 2/9] Clean up wmts template with correct syntax --- public/templates/wmts.tmpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/templates/wmts.tmpl b/public/templates/wmts.tmpl index f0570c6ca..29ab3e6e0 100644 --- a/public/templates/wmts.tmpl +++ b/public/templates/wmts.tmpl @@ -2,7 +2,7 @@ - WMTSGate + TileServer GL OGC WMTS 1.0.0 @@ -11,7 +11,7 @@ - + RESTful @@ -24,7 +24,7 @@ - + RESTful @@ -37,8 +37,8 @@ - localhost - localhost + {{name}} + {{id}} -180 -85.051128779807 180 85.051128779807 @@ -50,7 +50,7 @@ GoogleMapsCompatible - + GoogleMapsCompatible GoogleMapsCompatible EPSG:3857 @@ -403,5 +403,5 @@ 262144 - + \ No newline at end of file From 6e24f6ec8e16d9cd8bab530884bbedd9e23b39a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Sat, 18 Aug 2018 12:02:54 +0200 Subject: [PATCH 3/9] Update endpoint URL and change content type After a good nights sleep I considered the structure of the endpoint link for WMTS, at the same time I cleaned up the code and added the correct content type for the response. --- docs/endpoints.rst | 2 +- public/templates/index.tmpl | 2 +- src/server.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/endpoints.rst b/docs/endpoints.rst index b6d3bbd1a..b3a5fa081 100644 --- a/docs/endpoints.rst +++ b/docs/endpoints.rst @@ -23,7 +23,7 @@ Rendered tiles WMTS Capabilities ============== -* WMTS Capabilities are served at ``/wmts/{id}/`` +* WMTS Capabilities are served at ``/styles/{id}/wmts.xml`` Static images ============= diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 3dcef0d71..2c61428e4 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -41,7 +41,7 @@ {{#if serving_data}}| {{/if}}TileJSON {{/if}} {{#if serving_rendered}} - | WMTS + | WMTS {{/if}} {{#if xyz_link}} | XYZ diff --git a/src/server.js b/src/server.js index 8d8ac3bd4..70edfe8e2 100644 --- a/src/server.js +++ b/src/server.js @@ -269,6 +269,7 @@ function start(opts) { data['key_query_part'] = req.query.key ? 'key=' + req.query.key + '&' : ''; data['key_query'] = req.query.key ? '?key=' + req.query.key : ''; + if(template === 'wmts')res.set('Content-Type', 'text/xml'); return res.status(200).send(compiled(data)); }); resolve(); @@ -369,7 +370,7 @@ function start(opts) { return res.redirect(301, '/styles/' + req.params.id + '/'); }); */ - serveTemplate('/wmts/:id/$', 'wmts', function(req) { + serveTemplate('/styles/:id/wmts.xml', 'wmts', function(req) { var id = req.params.id; var wmts = clone((config.styles || {})[id]); if (!wmts) { @@ -381,7 +382,6 @@ function start(opts) { wmts.id = id; wmts.name = (serving.styles[id] || serving.rendered[id]).name; wmts.baseUrl = (req.get('X-Forwarded-Protocol')?req.get('X-Forwarded-Protocol'):req.protocol) + '://' + req.get('host'); - console.log(wmts) return wmts; }); From 1c59e3d7424f59a76fa479cfb477b372371ee55f Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Thu, 21 Jun 2018 19:00:10 +0200 Subject: [PATCH 4/9] Fix typo --- docs/config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config.rst b/docs/config.rst index 15f7db15d..6d6f99fce 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -173,7 +173,7 @@ Sprites If your style requires any sprites, make sure the style JSON contains proper path in the ``sprite`` property. -It can be a local path (e.g. ``my-style/sprite``) or remove http(s) location (e.g. ``https://mycdn.com/my-style/sprite``). Several possible extension are added to this path, so the following files should be present: +It can be a local path (e.g. ``my-style/sprite``) or remote http(s) location (e.g. ``https://mycdn.com/my-style/sprite``). Several possible extension are added to this path, so the following files should be present: * ``sprite.json`` * ``sprite.png`` From 71fab2a2a12c55845a9f990364ebe0c7a7191c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Fri, 17 Aug 2018 13:11:19 +0200 Subject: [PATCH 5/9] Add support for WMTS capabilites https://github.com/klokantech/tileserver-gl/issues/274 Clean up wmts template with correct syntax Update endpoint URL and change content type After a good nights sleep I considered the structure of the endpoint link for WMTS, at the same time I cleaned up the code and added the correct content type for the response. --- docs/endpoints.rst | 4 + public/templates/index.tmpl | 6 +- public/templates/wmts.tmpl | 407 ++++++++++++++++++++++++++++++++++++ src/server.js | 20 +- 4 files changed, 429 insertions(+), 8 deletions(-) create mode 100644 public/templates/wmts.tmpl diff --git a/docs/endpoints.rst b/docs/endpoints.rst index 0672f2515..b3a5fa081 100644 --- a/docs/endpoints.rst +++ b/docs/endpoints.rst @@ -21,6 +21,10 @@ Rendered tiles * The rendered tiles are not available in the ``tileserver-gl-light`` version. +WMTS Capabilities +============== +* WMTS Capabilities are served at ``/styles/{id}/wmts.xml`` + Static images ============= * Several endpoints: diff --git a/public/templates/index.tmpl b/public/templates/index.tmpl index 8b37ed1d6..2c61428e4 100644 --- a/public/templates/index.tmpl +++ b/public/templates/index.tmpl @@ -40,8 +40,8 @@ {{#if serving_rendered}} {{#if serving_data}}| {{/if}}TileJSON {{/if}} - {{#if wmts_link}} - | WMTS + {{#if serving_rendered}} + | WMTS {{/if}} {{#if xyz_link}} | XYZ @@ -110,4 +110,4 @@

- + \ No newline at end of file diff --git a/public/templates/wmts.tmpl b/public/templates/wmts.tmpl new file mode 100644 index 000000000..29ab3e6e0 --- /dev/null +++ b/public/templates/wmts.tmpl @@ -0,0 +1,407 @@ + + + + + TileServer GL + OGC WMTS + 1.0.0 + + + + + + + + + + RESTful + + + + + + + + + + + + + RESTful + + + + + + + + + + {{name}} + {{id}} + + -180 -85.051128779807 + 180 85.051128779807 + + + image/png + + GoogleMapsCompatible + + + + GoogleMapsCompatible + GoogleMapsCompatible EPSG:3857 + GoogleMapsCompatible + urn:ogc:def:crs:EPSG::3857 + + 0 + 559082264.02872 + -20037508.34 20037508.34 + 256 + 256 + 1 + 1 + + + 1 + 279541132.01436 + -20037508.34 20037508.34 + 256 + 256 + 2 + 2 + + + 2 + 139770566.00718 + -20037508.34 20037508.34 + 256 + 256 + 4 + 4 + + + 3 + 69885283.00359 + -20037508.34 20037508.34 + 256 + 256 + 8 + 8 + + + 4 + 34942641.501795 + -20037508.34 20037508.34 + 256 + 256 + 16 + 16 + + + 5 + 17471320.750897 + -20037508.34 20037508.34 + 256 + 256 + 32 + 32 + + + 6 + 8735660.3754487 + -20037508.34 20037508.34 + 256 + 256 + 64 + 64 + + + 7 + 4367830.1877244 + -20037508.34 20037508.34 + 256 + 256 + 128 + 128 + + + 8 + 2183915.0938622 + -20037508.34 20037508.34 + 256 + 256 + 256 + 256 + + + 9 + 1091957.5469311 + -20037508.34 20037508.34 + 256 + 256 + 512 + 512 + + + 10 + 545978.77346554 + -20037508.34 20037508.34 + 256 + 256 + 1024 + 1024 + + + 11 + 272989.38673277 + -20037508.34 20037508.34 + 256 + 256 + 2048 + 2048 + + + 12 + 136494.69336639 + -20037508.34 20037508.34 + 256 + 256 + 4096 + 4096 + + + 13 + 68247.346683193 + -20037508.34 20037508.34 + 256 + 256 + 8192 + 8192 + + + 14 + 34123.673341597 + -20037508.34 20037508.34 + 256 + 256 + 16384 + 16384 + + + 15 + 17061.836670798 + -20037508.34 20037508.34 + 256 + 256 + 32768 + 32768 + + + 16 + 8530.9183353991 + -20037508.34 20037508.34 + 256 + 256 + 65536 + 65536 + + + 17 + 4265.4591676996 + -20037508.34 20037508.34 + 256 + 256 + 131072 + 131072 + + + 18 + 2132.7295838498 + -20037508.34 20037508.34 + 256 + 256 + 262144 + 262144 + + WGS84 + WGS84 EPSG:4326 + WGS84 + urn:ogc:def:crs:EPSG::4326 + + 0 + 279541132.01436 + 90 -180 + 256 + 256 + 2 + 1 + + + 1 + 139770566.00718 + 90 -180 + 256 + 256 + 4 + 2 + + + 2 + 69885283.00359 + 90 -180 + 256 + 256 + 8 + 4 + + + 3 + 34942641.501795 + 90 -180 + 256 + 256 + 16 + 8 + + + 4 + 17471320.750897 + 90 -180 + 256 + 256 + 32 + 16 + + + 5 + 8735660.3754487 + 90 -180 + 256 + 256 + 64 + 32 + + + 6 + 4367830.1877244 + 90 -180 + 256 + 256 + 128 + 64 + + + 7 + 2183915.0938622 + 90 -180 + 256 + 256 + 256 + 128 + + + 8 + 1091957.5469311 + 90 -180 + 256 + 256 + 512 + 256 + + + 9 + 545978.77346554 + 90 -180 + 256 + 256 + 1024 + 512 + + + 10 + 272989.38673277 + 90 -180 + 256 + 256 + 2048 + 1024 + + + 11 + 136494.69336639 + 90 -180 + 256 + 256 + 4096 + 2048 + + + 12 + 68247.346683193 + 90 -180 + 256 + 256 + 8192 + 4096 + + + 13 + 34123.673341597 + 90 -180 + 256 + 256 + 16384 + 8192 + + + 14 + 17061.836670798 + 90 -180 + 256 + 256 + 32768 + 16384 + + + 15 + 8530.9183353991 + 90 -180 + 256 + 256 + 65536 + 32768 + + + 16 + 4265.4591676996 + 90 -180 + 256 + 256 + 131072 + 65536 + + + 17 + 2132.7295838498 + 90 -180 + 256 + 256 + 262144 + 131072 + + + 18 + + 90 -180 + 256 + 256 + 524288 + 262144 + + + + \ No newline at end of file diff --git a/src/server.js b/src/server.js index db67be470..70edfe8e2 100644 --- a/src/server.js +++ b/src/server.js @@ -269,6 +269,7 @@ function start(opts) { data['key_query_part'] = req.query.key ? 'key=' + req.query.key + '&' : ''; data['key_query'] = req.query.key ? '?key=' + req.query.key : ''; + if(template === 'wmts')res.set('Content-Type', 'text/xml'); return res.status(200).send(compiled(data)); }); resolve(); @@ -325,11 +326,6 @@ function start(opts) { Math.floor(centerPx[1] / 256) + '.' + data_.format; } - var query = req.query.key ? ('?key=' + req.query.key) : ''; - data_.wmts_link = 'http://wmts.maptiler.com/' + - base64url('http://' + req.headers.host + - '/data/' + id + '.json' + query) + '/wmts'; - var tiles = utils.getTileUrls( req, data_.tiles, 'data/' + id, data_.format, { 'pbf': options.pbfAlias @@ -374,6 +370,20 @@ function start(opts) { return res.redirect(301, '/styles/' + req.params.id + '/'); }); */ + serveTemplate('/styles/:id/wmts.xml', 'wmts', function(req) { + var id = req.params.id; + var wmts = clone((config.styles || {})[id]); + if (!wmts) { + return null; + } + if(wmts.hasOwnProperty("serve_rendered")&!wmts.serve_rendered){ + return null; + } + wmts.id = id; + wmts.name = (serving.styles[id] || serving.rendered[id]).name; + wmts.baseUrl = (req.get('X-Forwarded-Protocol')?req.get('X-Forwarded-Protocol'):req.protocol) + '://' + req.get('host'); + return wmts; + }); serveTemplate('/data/:id/$', 'data', function(req) { var id = req.params.id; From 56089c0a6229b0f6945bc324b3ea3c586449f670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Tue, 11 Sep 2018 17:47:44 +0200 Subject: [PATCH 6/9] Remove base64url --- package.json | 1 - src/server.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 05bae9b84..150f46d5c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "@mapbox/sphericalmercator": "1.0.5", "@mapbox/vector-tile": "1.3.0", "advanced-pool": "0.3.3", - "base64url": "2.0.0", "canvas": "1.6.8", "clone": "2.1.1", "color": "1.0.3", diff --git a/src/server.js b/src/server.js index 70edfe8e2..f48356a6a 100644 --- a/src/server.js +++ b/src/server.js @@ -7,8 +7,7 @@ process.env.UV_THREADPOOL_SIZE = var fs = require('fs'), path = require('path'); -var base64url = require('base64url'), - clone = require('clone'), +var clone = require('clone'), cors = require('cors'), enableShutdown = require('http-shutdown'), express = require('express'), From e8b3c0254678f049bc1ef67bc44cd5add4aa81da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Tue, 11 Sep 2018 17:51:38 +0200 Subject: [PATCH 7/9] Fix formating --- src/server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server.js b/src/server.js index f48356a6a..7f464a70f 100644 --- a/src/server.js +++ b/src/server.js @@ -268,7 +268,7 @@ function start(opts) { data['key_query_part'] = req.query.key ? 'key=' + req.query.key + '&' : ''; data['key_query'] = req.query.key ? '?key=' + req.query.key : ''; - if(template === 'wmts')res.set('Content-Type', 'text/xml'); + if (template === 'wmts') res.set('Content-Type', 'text/xml'); return res.status(200).send(compiled(data)); }); resolve(); @@ -375,8 +375,8 @@ function start(opts) { if (!wmts) { return null; } - if(wmts.hasOwnProperty("serve_rendered")&!wmts.serve_rendered){ - return null; + if (wmts.hasOwnProperty("serve_rendered") && !wmts.serve_rendered) { + return null; } wmts.id = id; wmts.name = (serving.styles[id] || serving.rendered[id]).name; From 76a0064f0c04c74faf572c233c3e6bcc0fd69dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Thu, 13 Sep 2018 17:57:06 +0200 Subject: [PATCH 8/9] Remove unused variables --- src/server.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/server.js b/src/server.js index 7f464a70f..f89fa783c 100644 --- a/src/server.js +++ b/src/server.js @@ -295,12 +295,7 @@ function start(opts) { Math.floor(centerPx[0] / 256) + '/' + Math.floor(centerPx[1] / 256) + '.png'; } - - var query = req.query.key ? ('?key=' + req.query.key) : ''; - style.wmts_link = 'http://wmts.maptiler.com/' + - base64url('http://' + req.headers.host + - '/styles/' + id + '.json' + query) + '/wmts'; - + var tiles = utils.getTileUrls( req, style.serving_rendered.tiles, 'styles/' + id, style.serving_rendered.format); From 782c28cd6445df16c7bc8fab416d4612c5047228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=8Ans=20Beckman?= Date: Thu, 13 Sep 2018 17:58:13 +0200 Subject: [PATCH 9/9] Add key to WMTS xml This should add the key to the wmts xml for hosted services --- public/templates/wmts.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/wmts.tmpl b/public/templates/wmts.tmpl index 29ab3e6e0..4fbec0487 100644 --- a/public/templates/wmts.tmpl +++ b/public/templates/wmts.tmpl @@ -50,7 +50,7 @@ GoogleMapsCompatible - + GoogleMapsCompatible GoogleMapsCompatible EPSG:3857