<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Luca,</p>
    <p>The first one sounds like a bug and I''d suggest reporting it to
      the qgis bug tracker.</p>
    <p>For clarity: Are we talking about the layer Name or the layer
      Title? The Name is a unique ID for a layer; the vast majority of
      WxS servers don't use spaces in their layer names, instead they
      use underscores.</p>
    <p>The Title is the human-friendly title of the layer and should
      only be used to represent things to us humans.</p>
    <p>(Also this question would have been better asked on the QGIS
      Users list; the dev list is for actually developing QGIS)<br>
    </p>
    <p>Cheers,</p>
    <p>Jonathan<br>
    </p>
    <div class="moz-cite-prefix">On 2019-07-25 15:46, Luca Manganelli
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGKduJ1Mo_Efk-ZG9WnHh5k9rngcFKB0EW0vn7YnWyiZ_bY7Ww@mail.gmail.com">
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>I have configured a project with a WMTS service for an
          ortophoto. I'm using QGIS Server 3.4.8 LTR<br>
        </div>
        <div><br>
        </div>
        <div>Two notes:</div>
        <div><br>
        </div>
        <div> - My layer is named "Ortophoto 2015" (with the space), but
          the WMTS GetCapabilities replaces the space with _
          (Ortophoto_2015), and in the following GetTile, QGIS Server
          complains that if you use Ortophoto_2015 in LAYER, it could
          not find it (LayerNotFound error), but if you use the space
          it's working!<br>
        </div>
        <div><br>
        </div>
        <div> - I am using EPSG:25832, but If I load the WMTS layer on
          QGIS Desktop 3.8, it is always blank.</div>
        <div><br>
        </div>
        <div>Any idea?<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
  </body>
</html>