<div dir="ltr"><div><div class="gmail_extra"><div><div>Vanessa,<br><br></div>here is a sample of what we use:<br><br>......<br>parts:<br>  on_error: &onerror<br>    other:<br>      response: transparent<br>      cache: false<br><br>sources:<br>  naip_wms:<br>    type: wms<br>    req:<br>      url: <a href="http://raster.nationalmap.gov/ArcGIS/services/Orthoimagery/USGS_EROS_Ortho_NAIP/ImageServer/WMSServer">http://raster.nationalmap.gov/ArcGIS/services/Orthoimagery/USGS_EROS_Ortho_NAIP/ImageServer/WMSServer</a><br>      layers: 0<br>    coverage:<br>      bbox: [-124.82,24.49,-66.93,49.44]<br>      bbox_srs: 'EPSG:4326'<br>    transparent: true<br>    on_error: *onerror<br>......<br><br></div><div>Hopefully either "transparent" or "on_error" option will do the trick. Notice, that "transparent: true" is outside the "req" option, which also works  for tile sources. Although in my case it worked for wms source from within "req" option just the same as from outside. You can also find the above WMS source useful for control testing.<br><br><br></div><div>Another useful option looks like is <a href="http://mapproxy.org/docs/nightly/sources.html#image">transparent_color</a>, it removed even more blackness compared to the above config:<br><br>......<br>sources:<br>  naip_wms:<br>    type: wms<br>    req:<br>      url: <a href="http://raster.nationalmap.gov/ArcGIS/services/Orthoimagery/USGS_EROS_Ortho_NAIP/ImageServer/WMSServer">http://raster.nationalmap.gov/ArcGIS/services/Orthoimagery/USGS_EROS_Ortho_NAIP/ImageServer/WMSServer</a><br>      layers: 0<br>    image:<br>      transparent_color: '#000000'<br>......<br><br></div><div><br></div><div>Also make sure to clear cache between the tests.<br></div><div><br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(0,40,168)">Anna Pestereva</span></b><span style="line-height:115%;font-size:12pt;font-family:Arial,sans-serif"><br>


</span><span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif"><a href="http://aerialservicesinc.com/photoblogmetry/" target="_blank"><span style="font-size:10pt;line-height:115%;font-family:Arial,sans-serif"></span></a></span><span></span></div></div></div></div>
</div></div></div>