<div dir="ltr"><p class="MsoNormal">Hello all,<span></span></p><p class="MsoNormal"><br></p>
<p class="MsoNormal">I have just started using Mapproxy and I am having trouble
with what seems like a simple task. I
would like to combine a mapbox style (created in mapbox studio) with several
wms layers that I have set up on geoserver.
I then would like to serve all of this up as a tile service to be
consumed by Tableau (via a tms custom connection). I have created the following YAML file to
test it out (I replaced some of the URL information from my mapbox account). It seems like this should do the trick but
when I view the combined layers in mapproxy/demo the wms layer is not
transparent and completely covers the mappbox style. Any help/guidance you can offer is greatly appreciated!<span></span></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">layers:</p><p class="MsoNormal"> - name: geoserver</p><p class="MsoNormal"> title: geoserver</p><p class="MsoNormal"> sources: [gs_cache]</p><p class="MsoNormal"> - name: mapbox</p><p class="MsoNormal"> title: mapbox</p><p class="MsoNormal"> sources: [mb_cache]</p><p class="MsoNormal"> - name: geoservermapbox</p><p class="MsoNormal"> title: gs_mb</p><p class="MsoNormal"> tile_sources: [mb_cache, gs_cache]</p><p class="MsoNormal"><br></p><p class="MsoNormal">caches:</p><p class="MsoNormal"> mb_cache:</p><p class="MsoNormal"> grids: [webmercator]</p><p class="MsoNormal"> sources: [Mapbox_wmts]</p><p class="MsoNormal"> gs_cache:</p><p class="MsoNormal"> grids: [webmercator]</p><p class="MsoNormal"> sources: [Geoserver_wms]</p><p class="MsoNormal"> gs_mb_combined:</p><p class="MsoNormal"> grids: [webmercator]</p><p class="MsoNormal"> sources: [Mapbox_wmts, Geoserver_wms]</p><p class="MsoNormal"> disable_storage: true</p><p class="MsoNormal"><br></p><p class="MsoNormal">sources:</p><p class="MsoNormal"> Mapbox_wmts:</p><p class="MsoNormal"> type: tile</p><p class="MsoNormal"> grid: GLOBAL_WEBMERCATOR</p><p class="MsoNormal"> url: <a href="https://api.mapbox.com/styles/v1/emilyh/xxxxxxxxxx/tiles/%(z)s/%(x)s/%(y)s?&access_token=pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">https://api.mapbox.com/styles/v1/emilyh/xxxxxxxxxx/tiles/%(z)s/%(x)s/%(y)s?&access_token=pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</a></p><p class="MsoNormal"> transparent: true</p><p class="MsoNormal"> Geoserver_wms:</p><p class="MsoNormal"> type: wms</p><p class="MsoNormal"> req:</p><p class="MsoNormal"> url: <a href="http://localhost:8080/geoserver/ows?SERVICE=WMS">http://localhost:8080/geoserver/ows?SERVICE=WMS</a></p><p class="MsoNormal"> layers: states</p><p class="MsoNormal"> transparent: true</p><p class="MsoNormal"> format: image/png</p><p class="MsoNormal"><br></p><p class="MsoNormal">grids:</p><p class="MsoNormal"> webmercator:</p><p class="MsoNormal"> base: GLOBAL_WEBMERCATOR</p><p class="MsoNormal"> origin: nw</p><div><br></div></div>