[MapProxy] Transparent Tile Cache over Tile Server
olt at omniscale.de
Fri Aug 3 00:02:36 PDT 2018
sorry I haven't read your first mail careful enough.
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.
You need something like:
- name: combined_layer
title: osm + osl
sources: [osm_cache, osl_cache]
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 1. Aug 2018, at 20:55, Greg Albrecht <gba at gregalbrecht.com> wrote:
> Thanks for the help Oliver. I've updated the config as follows:
> Unfortunately what I'm seeing is the Special-Event tiles (right) as non-transparent over the OSM tiles (left) in the background:
> On Wed, Aug 1, 2018 at 5:02 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:
> you need to 'mark' your tile source as transparent:
> Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
> OpenStreetMap WMS and tile services | https://maps.omniscale.com
> > On 30. Jul 2018, at 20:37, Greg Albrecht <gba at gregalbrecht.com> wrote:
> > Hi All,
> > 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.
> > 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.
> > Config: https://gist.github.com/ampledata/c60602300ea02adb744b216a0b21439a
> > 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:
> > Config: https://gist.github.com/ampledata/e81f8848d92621774e0cb2d3973edb64
> > 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.
> > The tile files themselves are: "PNG image data, 256 x 256, 8-bit colormap, non-interlaced"
> > Thanks,
> > -g
> > --
> > Greg Albrecht <gba at gregalbrecht.com> W2GMD
> > EMT, Emergency & Disaster Communications Supervisor
> > Mobile: 1-415-598-8226
> > http://ampledata.org/
> > http://twitter.com/ampledata
> > https://github.com/ampledata
> > _______________________________________________
> > MapProxy mailing list
> > MapProxy at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapproxy
> Greg Albrecht <gba at gregalbrecht.com> W2GMD
> EMT & Disaster Communications Specialist
> Mobile: 1-415-598-8226
More information about the MapProxy