<div dir="ltr">Figured it out, deleted my local cache :)<div><br></div><div><a href="https://www.dropbox.com/s/nsxl4hipr6g3xzn/Screenshot%202018-08-03%2021.47.19.png?dl=0">https://www.dropbox.com/s/nsxl4hipr6g3xzn/Screenshot%202018-08-03%2021.47.19.png?dl=0</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 3, 2018 at 12:22 AM, Greg Albrecht <span dir="ltr"><<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the help thus-far Oliver, and I apologize if I'm not grasping the problem appropriately on my side, but with the configuration you've sent over I no longer see my Special-Event tiles.<div><br></div><div>Config is as follows:</div><div><br></div><div><a href="https://gist.github.com/ampledata/48b982196ffb9aa21c6ddc79863ce3c0" target="_blank">https://gist.github.com/<wbr>ampledata/<wbr>48b982196ffb9aa21c6ddc79863ce3<wbr>c0</a><br></div><div><br></div><div>I've tried omitting the 'custom_format' as well, to no avail.</div><div><br></div><div>Thanks for any further help!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-g</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 3, 2018 at 12:02 AM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
sorry I haven't read your first mail careful enough. <br>
<br>
You second configuration does not work, because MapProxy does not load the OSM tile to place it behind you Special-Event tiles if there is already a tile in the cache.<br>
<br>
You need something like:<br>
<br>
layers:<br>
  - name: combined_layer<br>
    title: osm + osl<br>
    sources: [combined_cache]<br>
<br>
caches:<br>
  combined_cache:<br>
    grids: [webmercator]<br>
    sources: [osm_cache, osl_cache]<br>
<br>
  osl_cache:<br>
    grids: [webmercator]<br>
    sources: []<br>
    format: custom_format<br>
    cache:<br>
      type: file<br>
      directory: /mapproxy/osl/<br>
      directory_layout: tms<br>
<br>
sources:<br>
  osm:<br>
    type: tile<br>
    grid: GLOBAL_WEBMERCATOR<br>
    url: <a href="http://a.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png" rel="noreferrer" target="_blank">http://a.tile.openstreetmap.or<wbr>g/%(z)s/%(x)s/%(y)s.png</a><br>
    transparent: true<br>
<span class="m_4721214813081560898im m_4721214813081560898HOEnZb"><br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
-- <br>
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | <a href="https://omniscale.com" rel="noreferrer" target="_blank">https://omniscale.com</a><br>
OpenStreetMap WMS and tile services         | <a href="https://maps.omniscale.com" rel="noreferrer" target="_blank">https://maps.omniscale.com</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><div class="m_4721214813081560898HOEnZb"><div class="m_4721214813081560898h5">> On 1. Aug 2018, at 20:55, Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> wrote:<br>
> <br>
> Thanks for the help Oliver. I've updated the config as follows:<br>
> <br>
> <a href="https://gist.github.com/ampledata/13434095e2923d25e2e4f36b1902b69e" rel="noreferrer" target="_blank">https://gist.github.com/ampled<wbr>ata/13434095e2923d25e2e4f36b19<wbr>02b69e</a><br>
> <br>
> Unfortunately what I'm seeing is the Special-Event tiles (right) as non-transparent over the OSM tiles (left) in the background:<br>
> <br>
> <a href="https://www.dropbox.com/s/t8gkchp1o9le8jw/Screenshot%202018-08-01%2011.53.06.png?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/t8gk<wbr>chp1o9le8jw/Screenshot%202018-<wbr>08-01%2011.53.06.png?dl=0</a><br>
> <br>
> Thanks,<br>
> -g<br>
> <br>
> <br>
> <br>
> On Wed, Aug 1, 2018 at 5:02 AM, Oliver Tonnhofer <<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>> wrote:<br>
> Hi,<br>
> <br>
> you need to 'mark' your tile source as transparent:<br>
> <a href="https://mapproxy.org/docs/nightly/configuration_examples.html#merge-tile-sources" rel="noreferrer" target="_blank">https://mapproxy.org/docs/nigh<wbr>tly/configuration_examples.<wbr>html#merge-tile-sources</a><br>
> <br>
> <br>
> Regards,<br>
> Oliver<br>
> <br>
> -- <br>
> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | <a href="https://omniscale.com" rel="noreferrer" target="_blank">https://omniscale.com</a><br>
> OpenStreetMap WMS and tile services         | <a href="https://maps.omniscale.com" rel="noreferrer" target="_blank">https://maps.omniscale.com</a><br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> > On 30. Jul 2018, at 20:37, Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> wrote:<br>
> > <br>
> > Hi All,<br>
> > <br>
> > I'm trying to use a Special-Event PDF as a transparent layer overlay for an existing OSM Tile Source. I've already used MapTiler to split the PDF into the appropriate tiles and can export them as a TMS directory structure or as a mbtiles file. <br>
> > <br>
> > If I use a tile server to host the Special-Event tiles and use a combined cache to provide a layer to my web browser (via WMTS), the Special-Event tiles are transparent and I can see all the way through to the underlying OSM tiles.<br>
> > <br>
> > Config: <a href="https://gist.github.com/ampledata/c60602300ea02adb744b216a0b21439a" rel="noreferrer" target="_blank">https://gist.github.com/ampled<wbr>ata/c60602300ea02adb744b216a0b<wbr>21439a</a><br>
> > <br>
> > If I use a local TMS file cache to host the Special-Event tiles and use a combined cache to provide a layer to my web browser (via WMTS), I can ONLY see the Special-Event tiles and I cannot see the underlying OSM tiles:<br>
> > <br>
> > Config: <a href="https://gist.github.com/ampledata/e81f8848d92621774e0cb2d3973edb64" rel="noreferrer" target="_blank">https://gist.github.com/ampled<wbr>ata/e81f8848d92621774e0cb2d397<wbr>3edb64</a><br>
> > <br>
> > I'd prefer using a local TMS file cache to host the Special-Event tiles, and have them be transparent on top of the externally hosted OSM tiles. I appreciate any pointers on what might be wrong with my config.<br>
> > <br>
> > The tile files themselves are: "PNG image data, 256 x 256, 8-bit colormap, non-interlaced"<br>
> > <br>
> > Thanks,<br>
> > -g<br>
> > <br>
> > <br>
> > -- <br>
> > Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> W2GMD<br>
> > EMT, Emergency & Disaster Communications Supervisor<br>
> > Mobile: 1-415-598-8226<br>
> > <a href="http://ampledata.org/" rel="noreferrer" target="_blank">http://ampledata.org/</a><br>
> > <a href="http://twitter.com/ampledata" rel="noreferrer" target="_blank">http://twitter.com/ampledata</a><br>
> > <a href="https://github.com/ampledata" rel="noreferrer" target="_blank">https://github.com/ampledata</a><br>
> > ______________________________<wbr>_________________<br>
> > MapProxy mailing list<br>
> > <a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
> > <a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/mapproxy</a><br>
> <br>
> <br>
> <br>
> <br>
> -- <br>
> Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> W2GMD<br>
> EMT & Disaster Communications Specialist<br>
> Mobile: 1-415-598-8226<br>
> <a href="http://ampledata.org/" rel="noreferrer" target="_blank">http://ampledata.org/</a><br>
> <a href="http://twitter.com/ampledata" rel="noreferrer" target="_blank">http://twitter.com/ampledata</a><br>
> <a href="https://github.com/ampledata" rel="noreferrer" target="_blank">https://github.com/ampledata</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_4721214813081560898gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> W2GMD<br>EMT & Disaster Communications Specialist<br>Mobile: 1-415-598-8226<br><a href="http://ampledata.org/" target="_blank">http://ampledata.org/</a><br><a href="http://twitter.com/ampledata" target="_blank">http://twitter.com/ampledata</a><br><a href="https://github.com/ampledata" target="_blank">https://github.com/ampledata</a></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Greg Albrecht <<a href="mailto:gba@gregalbrecht.com" target="_blank">gba@gregalbrecht.com</a>> W2GMD<br>EMT & Disaster Communications Specialist<br>Mobile: 1-415-598-8226<br><a href="http://ampledata.org/" target="_blank">http://ampledata.org/</a><br><a href="http://twitter.com/ampledata" target="_blank">http://twitter.com/ampledata</a><br><a href="https://github.com/ampledata" target="_blank">https://github.com/ampledata</a></div></div>
</div>