[MapProxy] Transparent Tile Cache over Tile Server

Greg Albrecht gba at gregalbrecht.com
Wed Aug 1 11:55:24 PDT 2018


Thanks for the help Oliver. I've updated the config as follows:

https://gist.github.com/ampledata/13434095e2923d25e2e4f36b1902b69e

Unfortunately what I'm seeing is the Special-Event tiles (right) as
non-transparent over the OSM tiles (left) in the background:

https://www.dropbox.com/s/t8gkchp1o9le8jw/Screenshot%202018-08-01%2011.53.06.png?dl=0

Thanks,
-g



On Wed, Aug 1, 2018 at 5:02 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:

> Hi,
>
> you need to 'mark' your tile source as transparent:
> https://mapproxy.org/docs/nightly/configuration_examples.html#merge-tile-
> sources
>
>
> Regards,
> Oliver
>
> --
> 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/c60602300ea02adb744b216a0b2143
> 9a
> >
> > 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/e81f8848d92621774e0cb2d3973edb
> 64
> >
> > 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
http://ampledata.org/
http://twitter.com/ampledata
https://github.com/ampledata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180801/e415b94b/attachment.html>


More information about the MapProxy mailing list