<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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="EN-NZ" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi QGIS<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m currently using QGIS 3.4, on Windows 7.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am getting an error when I try to connect to a WMTS layer:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Invalid Layer: </b>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></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The sample WMTS can be accessed here:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://data.linz.govt.nz/set/4702-nz-aerial-imagery/webservices/">https://data.linz.govt.nz/set/4702-nz-aerial-imagery/webservices/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tested the same WMTS connection using QGIS 2.18, 2.6 and ArcMap also and received no error.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The WMTS connection shows an error no matter what layer I try to access from our data service.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I use an a connection from outside our data service: <a href="https://tiles.maps.linz.io/nz_colour_basemap/WMTSCapabilities.xml">
https://tiles.maps.linz.io/nz_colour_basemap/WMTSCapabilities.xml</a>, everything works fine<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ"><br>
Senior Spatial Analyst<br>
Location Information Data Services <o:p></o:p></span></p>
<p class="MsoNormal"><span 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><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-NZ">  ireese@linz.govt.nz
 | DDI 04 6504 </span><span 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  <a href="http://www.linz.govt.nz/" title="http://www.linz.govt.nz/"><span style="color:gray">www.linz.govt.nz</span></a> |
<a href="http://www.landonline.govt.nz/" title="http://www.landonline.govt.nz/"><span style="color:gray">www.landonline.govt.nz</span></a> |
<a href="http://www.data.linz.govt.nz/" title="http://www.data.linz.govt.nz/"><span style="color:gray">data.linz.govt.nz</span></a></span><b><span style="mso-fareast-language:EN-NZ"><o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Verdana" color="Black" size="2"><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 info@linz.govt.nz) 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.<br>
</font>
</body>
</html>