<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-mailStijl18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-mailStijl19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:NL-BE">Did you set your own API token, because the word YOUR_API_TOKEN in the uri in the error suggests you didn’t.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:NL-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:NL-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:NL-BE">Michel<br>
<br>
</span><span style="color:#1F497D"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="NL" style="mso-fareast-language:NL-BE">Van:</span></b><span lang="NL" style="mso-fareast-language:NL-BE"> Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org]
<b>Namens </b>Ian Reese<br>
<b>Verzonden:</b> vrijdag 16 november 2018 0:30<br>
<b>Aan:</b> qgis-user@lists.osgeo.org<br>
<b>Onderwerp:</b> [Qgis-user] WMTS fail on loading - QGIS 3.4<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-NZ">Hi QGIS<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">I’m currently using QGIS 3.4, on Windows 7.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">I am getting an error when I try to connect to a WMTS layer:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-NZ">Invalid Layer: </span></b><span lang="EN-NZ">Raster layer Provider is not valid (provider: wms, URI: SmoothPixmapTransform=1&contextualWMSLegend=0&crs=EPSG:2193&dpiMode=7&featureCount=10&format=image/png&layers=set-4702&styles=style%3Dauto&tileMatrixSet=EPSG:2193&url=https://data.linz.govt.nz/
services;key=YOUR_API_TOKEN/wmts/1.0.0/set/4702/WMTSCapabilities.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">The sample WMTS can be accessed here:<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://data.linz.govt.nz/set/4702-nz-aerial-imagery/webservices/"><span lang="EN-NZ">https://data.linz.govt.nz/set/4702-nz-aerial-imagery/webservices/</span></a><span lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">I tested the same WMTS connection using QGIS 2.18, 2.6 and ArcMap also and received no error.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">The WMTS connection shows an error no matter what layer I try to access from our data service.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">If I use an a connection from outside our data service:
</span><a href="https://tiles.maps.linz.io/nz_colour_basemap/WMTSCapabilities.xml"><span lang="EN-NZ">https://tiles.maps.linz.io/nz_colour_basemap/WMTSCapabilities.xml</span></a><span lang="EN-NZ">, everything works fine<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">Ian C Reese<br>
Senior Spatial Analyst<br>
Location Information Data Services <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="mso-fareast-language:EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">E </span><a href="mailto:ireese@linz.govt.nz"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:EN-NZ">ireese@linz.govt.nz</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">
| DDI 04 6504 </span><span lang="EN-NZ" style="mso-fareast-language:EN-NZ"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">Wellington Office, Level 7, Radio New Zealand House, 155 The Terrace<br>
PO Box 5501, Wellington 6145, New Zealand | T 04 460 0110 <br>
W </span><a href="http://www.linz.govt.nz/" title="http://www.linz.govt.nz/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">www.linz.govt.nz</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ"> |
</span><a href="http://www.landonline.govt.nz/" title="http://www.landonline.govt.nz/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">www.landonline.govt.nz</span></a><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ"> |
</span><a href="http://www.data.linz.govt.nz/" title="http://www.data.linz.govt.nz/"><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:EN-NZ">data.linz.govt.nz</span></a><b><span lang="EN-NZ" style="mso-fareast-language:EN-NZ"><o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:NL-BE"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-NZ" style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:NL-BE">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-NZ" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:NL-BE"><br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please
notify us immediately (Phone 0800 665 463 or </span><a href="mailto:info@linz.govt.nz"><span lang="EN-NZ" style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:NL-BE">info@linz.govt.nz</span></a><span lang="EN-NZ" style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:black;mso-fareast-language:NL-BE">)
and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.</span><span lang="EN-NZ" style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:NL-BE"><o:p></o:p></span></p>
</div>
</body>
</html>