Hi, I'm not sure if it will resolve your use case but maybe have a look at LAYER MASK - https://mapserver.org/mapfile/layer.html#mapfile-layer-mask (see also https://mapserver.org/development/rfc/ms-rfc-79.html). Although it sounds the inverse of what you need? Maybe you can create an inverse raster layer for the mask?
Seth -- web:https://geographika.net & https://mapserverstudio.net mastodon: @geographika@mastodon.social On Wed, Nov 27, 2024, at 10:36 AM, Alistair Everett via MapServer-users wrote: > > Hi, > > 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? > > Thanks, > Alistair > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users