<div><br><div class="gmail_quote"><div>On Thu, May 3, 2018 at 3:33 PM Travis Kirstine <<a href="mailto:traviskirstine@gmail.com">traviskirstine@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I have a similar setup without the issue however I declare the format<div><br></div><div>Hope this helps. BTW I would double check that your source WMS service isn't generating the black data, sometimes the nodata in the tiffs can be incorrect or the MapServer offset value could be incorrect</div><div><br></div><div>####</div><div><br></div><div><div>globals:</div><div> cache:</div><div> base_dir: /opt/caches</div><div> lock_dir: /opt/locks</div><div> image:</div><div> paletted: false</div><div> formats:</div><div> image/jpg:</div><div> encoding_options:</div><div> jpeg_quality: 80</div><div> image/png:</div><div> mode: RGBA</div><div> transparent: true</div></div><div><br></div><div>sources:</div><div><div> mapserver_wms:</div><div> type: wms</div><div> req:</div><div> url: <a href="http://foobar.com/cgi-bin/service" target="_blank">http://foobar.com/cgi-bin/service</a>?</div><div> wms_opts:</div><div> version: 1.0.0</div><div> featureinfo: true</div><div> featureinfo_format: application/vnd.ogc.gml</div><div> supported_srs: ['EPSG:3857','EPSG:900913','EPSG:4326','EPSG:4269']</div><div> concurrent_requests: 4</div><div> supported_formats: ['image/jpeg','image/png']</div><div> coverage:</div><div> bbox: [-10592453.1057418, 5113361.84195586, -8275939.84644254, 7568890.88630739]</div><div> srs: 'EPSG:3857'</div></div><div><br></div><div>caches:<br></div><div><div> some_cache:</div><div> grids: [spherical_mercator]</div><div> sources: ['mapserver_wms:PARK']</div><div> meta_buffer: 256</div><div> meta_size: [4,4]</div><div> format: image/png</div><div> cache:</div><div> type: riak</div><div> nodes:</div><div> - host: riak.foobar</div><div> bucket: PARK</div><div> secondary_index: true</div><div><br></div></div><div>layers:<br></div><div> - name: PARK<br></div><div><div> title: 'Parks and Nature Reserves'</div><div> sources: ['mapserver_wms:PARK']</div><div> tile_sources: [some_cache]</div></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 May 2018 at 05:09, Gerald Kogler <span><<a href="mailto:geraldo@servus.at" target="_blank">geraldo@servus.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have the same issue. Update to Pillow 5.1.0 didn't fix it, which<br>
version of Pillow solved your problem?<br>
<br>
<br>
> Updating Pillow to latest version did the trick.<br>
><br>
> On Wed, Dec 6, 2017 at 3:24 AM, Denis Rykov <rykovd at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>> wrote:<br>
> > Faced with the very strange issue.<br>
> ><br>
> > I have the following configuration: source as MapServer WMS (TIF<br>
> > raster) -> MapProxy -> WMS Service.<br>
> > If MaProxy requests extent which not contains any data then I get<br>
> > black image, otherwise all works as expected.<br>
> ><br>
> > You can check live demo here:<br>
<a href="http://rykovd.nextgis.com/resource/358/display" rel="noreferrer" target="_blank">http://rykovd.nextgis.com/resource/358/display</a><br>
> ><br>
> > MapProxy config:<br>
> ><br>
> > caches:<br>
> > bfa_cache:<br>
> > grids: [webmercator]<br>
> > sources: ['mapserver:bfa']<br>
> > cache:<br>
> > type: sqlite<br>
> ><br>
> > sources:<br>
> > mapserver:<br>
> > type: mapserver<br>
> > wms_opts:<br>
> > featureinfo: true<br>
> > req:<br>
> > map: /opt/mapserver/mapfile.map<br>
> > transparent: true<br>
> ><br>
> > Any thoughts?<br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a></blockquote></div><br></div>
</blockquote></div></div>