<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi,<br>
    <br>
    We are serving WMTS, which has the same limitation.<br>
    The workaround would be, to configure a third cache with the other
    both caches as source and taking this as source for the layer. You
    can use "<code><span class="hljs-attr">disable_storage:</span><span
        class=""> </span><span class="hljs-literal">true"</span></code>,
    if you did not want to storage the third cache, too.<br>
    <br>
    <font face="monospace">layers:<br>
        - name: basemap<br>
          title: Basemap Tiles<br>
          sources: [</font><font face="monospace">basemap_cache</font><font
      face="monospace">]<br>
          <br>
      caches:<br>
        basemap_cache:<br>
    </font><code><span class="hljs-attr">    disable_storage:</span><span
        class=""> </span><span class="hljs-literal">true</span><span
        class=""></span></code><br>
    <font face="monospace">    sources: [</font><font face="monospace">basemap_cache_tiles,
    </font><font face="monospace">basemap_cache_schumm</font><font
      face="monospace">]<br>
          grids: [GLOBAL_WEBMERCATOR]</font><br>
    <font face="monospace">  basemap_cache_tiles:<br>
          sources: [basemap_tiles]<br>
          request_format: image/png<br>
          image:<br>
            format: image/png<br>
            mode: RGBA<br>
            transparent: true<br>
          grids: [GLOBAL_WEBMERCATOR]<br>
        basemap_cache_schumm:<br>
          sources: [basemap_schumm]<br>
          request_format: image/png<br>
          image:<br>
            format: image/png<br>
            mode: RGBA<br>
          grids: [GLOBAL_WEBMERCATOR]</font><br>
    <br>
    Greetings<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">im Auftrag
Daniel Cebulla
Anwendungsbetreuer GIS

Telefon: 03641 49-5190      E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:daniel.cebulla@jena.de">daniel.cebulla@jena.de</a>

Kommunale Informationstechnik und Telekommunikation Jena (KITT)

Optimierter Regiebetrieb    Regiebetriebsleiter: Dr. Arndt Döhler
der Stadt Jena              Paradiesstr. 6, 07743 Jena

<a class="moz-txt-link-abbreviated" href="mailto:kitt@jena.de">kitt@jena.de</a>                USt.-ID DE150546569
<a class="moz-txt-link-abbreviated" href="mailto:rechnungen-kitt@jena.de">rechnungen-kitt@jena.de</a></pre>
    <div class="moz-cite-prefix">Am 06.12.2024 um 09:01 schrieb Johannes
      Weskamm via MapProxy:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6f64f16d-adc0-4045-b598-e374e6f24d93@terrestris.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hello Michael,</p>
      <p>I created an issue for the warning: <a
          class="moz-txt-link-freetext"
          href="https://github.com/mapproxy/mapproxy/issues/1053"
          moz-do-not-send="true">https://github.com/mapproxy/mapproxy/issues/1053</a></p>
      <p>For your TMS question, the reason it does not work currently is
        stated in the documentation:<br>
      </p>
      <p><img src="cid:part1.H3NY1GK0.PY4jgYRW@jena.de" alt="" class=""></p>
      <p><br>
      </p>
      <p>You have more than one source in your cache. I dont know why
        this limitation exists, but there may be workarounds.</p>
      <p><br>
      </p>
      <p>Greetings,</p>
      <p>Johannes<br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">Am 05.12.24 um 17:53 schrieb Michael
        Heerdegen via MapProxy:<br>
      </div>
      <blockquote type="cite" cite="mid:87y10u6pgs.fsf_-_@web.de">
        <pre class="moz-quote-pre" wrap="">Hi Johannes,

I did all of what you had suggested - perfect!  It works fine.  Very
cool.

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">image:
  format: image/png
  #mode: RGBA
  #transparent: true
  opacity: 0.5
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">This gives me a warning ("unknown 'opacity' in
caches.basemap_cache_tiles.image") - this might be the reason why I
rejected this solution while trying - without testing whether it
actually worked.


Now, my remaining problem is that the tms service is not provided with
my configuration, although I have specified it.  Any idea why?  Do I
have to adjust tile sizes, use a different grid, something else?

The demo service does show a tms section but it is a more or less void
template which provides no link.  Trying to request information about
the layer using the expected url only tells me "unknown layer: basemap".

Help appreciated.


Thanks again,

Michael.
_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
        href="mailto:MapProxy@lists.osgeo.org" moz-do-not-send="true">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext"
        href="https://lists.osgeo.org/mailman/listinfo/mapproxy"
        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/mapproxy</a>

</pre>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
MapProxy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapproxy">https://lists.osgeo.org/mailman/listinfo/mapproxy</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>