[MapProxy] multiple png output formats for wms services

Travis Kirstine traviskirstine at gmail.com
Thu Aug 1 07:17:35 PDT 2019


Is it possible to support both 8 and 32 bit images for output image formats
for WMS services.  I've tried a few configurations and I can't seem to get
it to work.


# services section
services:
   wms:
      srs: ['EPSG:3857','EPSG:4326','EPSG:4269' ]
      image_formats: ['image/jpeg','image/png','image/png8']
      featureinfo_types: [text, xml]

# globals section
globals:
   image:
      resampling_method: bilinear
      # stretch_factor: 1.15
      paletted: false
      formats:
         image/png8:
            format: image/png8
            mode: P
            colors: 256
            transparent: true
         image/png:
            format: image/png
            mode: RGBA
            transparent: true
            resampling_method: bilinear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20190801/f0c46bbb/attachment.html>


More information about the MapProxy mailing list