[MapProxy] Combining Mapbox Studio Style with WMS Layers from Geoserver in Mapproxy
Travis Kirstine
traviskirstine at gmail.com
Wed Jan 17 07:24:16 PST 2018
Mapproxy renders last on top. Try [geoserver,mapbox]
On Tue, Jan 16, 2018 at 2:38 AM Emily Hueni <emilyhueni1 at gmail.com> wrote:
> Hello all,
>
>
> 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!
>
>
>
> layers:
>
> - name: geoserver
>
> title: geoserver
>
> sources: [gs_cache]
>
> - name: mapbox
>
> title: mapbox
>
> sources: [mb_cache]
>
> - name: geoservermapbox
>
> title: gs_mb
>
> tile_sources: [mb_cache, gs_cache]
>
>
> caches:
>
> mb_cache:
>
> grids: [webmercator]
>
> sources: [Mapbox_wmts]
>
> gs_cache:
>
> grids: [webmercator]
>
> sources: [Geoserver_wms]
>
> gs_mb_combined:
>
> grids: [webmercator]
>
> sources: [Mapbox_wmts, Geoserver_wms]
>
> disable_storage: true
>
>
> sources:
>
> Mapbox_wmts:
>
> type: tile
>
> grid: GLOBAL_WEBMERCATOR
>
> url:
> https://api.mapbox.com/styles/v1/emilyh/xxxxxxxxxx/tiles/%(z)s/%(x)s/%(y)s?&access_token=pk.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> transparent: true
>
> Geoserver_wms:
>
> type: wms
>
> req:
>
> url: http://localhost:8080/geoserver/ows?SERVICE=WMS
>
> layers: states
>
> transparent: true
>
> format: image/png
>
>
> grids:
>
> webmercator:
>
> base: GLOBAL_WEBMERCATOR
>
> origin: nw
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180117/74ae18e8/attachment.html>
More information about the MapProxy
mailing list