[MapProxy] transparent_color for TMS?

André Pirard A.Pirard.Papou at gmail.com
Tue Jun 9 00:59:10 PDT 2015


Hi,

I was a bit mixed up about transparent_color and
transparent_color_tolerance and it seems that my tests show that they
can be used only in a WMS source definition.  Is that true?

The only way  found for TMS is to make, like below, a second source
definition calling back localhost source in WMS mode to apply the
transparency.
Any way to achieve that more directly?

Also, what is the meaning of "transparent: true" for a tile source as
there is no way to control if it sends transparent tiles or not?
And what is the meaning of "transparent: true" when transparent_color is
used?
(see commented lines)

Thanks in advance,

Cheers

André.


BTW: may I recall that if there was a precise howto make documentation
updates, I would gladly make the changes that would have had me
understand immediately.

  Tile_source:
    type: tile
#    transparent: true
    url: http://...
    grid: GLOBAL_WEBMERCATOR

  Transparent_source:
    type: wms
    supported_srs: ['EPSG:3857']
    image:
      transparent_color: '#ffffff'
      transparent_color_tolerance: 0
    req:
      url: http://localhost:8080/service?
      layers: Tile
#      transparent: true
      format: png8


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150609/d51e1a05/attachment.html>


More information about the MapProxy mailing list