<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi,<br></div><div><br></div><div>I'm not sure if it will resolve your use case but maybe have a look at LAYER MASK - <a href="https://mapserver.org/mapfile/layer.html#mapfile-layer-mask">https://mapserver.org/mapfile/layer.html#mapfile-layer-mask</a> (see also <a href="https://mapserver.org/development/rfc/ms-rfc-79.html">https://mapserver.org/development/rfc/ms-rfc-79.html</a>). <br></div><div>Although it sounds the inverse of what you need? Maybe you can create an inverse raster layer for the mask?<br></div><div><br></div><div>Seth<br></div><div id="sig62266145"><div class="signature">--<br></div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a><br></div><div class="signature">mastodon: @<a href="mailto:geographika@mastodon.social">geographika@mastodon.social</a><br></div></div><div><br></div><div>On Wed, Nov 27, 2024, at 10:36 AM, Alistair Everett via MapServer-users wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div><br></div><div>Hi,<br></div><div><br></div><div>I'm looking at ways of responding to requests for multiple layers with mapserver via wms. The use case is that we have overlapping images and when we receive a request for multiple images we want to overlay one over the other (so that the image underneath is no longer visible). This seems straight forward with rasters if we just deliver with 100% opacity, or we can use the composite filters if we want to do something fancier. However, we also want to be able to deliver the images with contour and other forms of vector styling, such that you can't see the contours from the image underneath but the image maintains transparency, so that if it is overlaid on a map by the client the background map is still visible. Is there any way to achieve this using mapserver?<br></div><div><br></div><div>Thanks,<br></div><div>Alistair<br></div></div><div>_______________________________________________<br></div><div>MapServer-users mailing list<br></div><div><a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div><div><br></div></blockquote><div><br></div></body></html>