Make a layer group if the four layers, configured with a dynamic style that adjust transparency based on variable substitution.
Do the same thing without the layer group. A wide range a alpha blending is available not just transparency. Each can be configured using variable substitution from the client request. You may be able to make a wps process? Especially if this is a more complicated combine. You may be able to use a rendering transformation to reuse the wps process mentioned above as part of a style. Or use a rendering transformation and jiffle (while jiffle can combine source as kind of a raster calculator I have not tired it in GeoServer yet). This is good if you are calculating rather than just adjusting transparency. But really if you are just combing using transparency add four layers and adjust the transparency client side. On Thu, May 30, 2019 at 18:13 van Ingen, Erik <e.vanin...@ifad.org> wrote: > Hi Geoserver user community, > > > > We currently combine 4 rasters into 1 raster, based on weights provided by > the user through the browser in a UI. We now do this in a complete custom > way, running an R Shiny server, which uses the leaflet client. > > > > I would like to understand better what other possible architectural > patterns are, preferably in combination with Geoserver WMS, in order to > remain with open standards. > > > > Are the following patterns valid, which one is best and am I missing a > pattern? > > · Have a leaflet client, requesting 4 rasters from WMS, > generating a new raster (applying the weights) in the browser and > displaying this through leaflet? > > · Make a custom WMS which takes the weights into account through > parameters and generates (applying the weights) the raster? Would this > custom WMS run in the Geoserver as some kind of plugin or aside Geoserver > as a separate webapp? > > · Is a pattern with the Javascript library > https://github.com/GeoTIFF/geoblaze relevant here? > > · Other? > > > > Best, > Erik > > > > > > > > > > > > > > *Erik van Ingen* > > Digital Innovation Consultant > > Room A012 > > Information and Communications Technology Division > > Via Paolo di Dono 44, 00142 Rome, Italy > <https://www.google.com/maps/search/Via+Paolo+di+Dono+44,+00142+Rome,+Italy?entry=gmail&source=g> > > Mob. +39 3331311211 > > www.ifad.org > > > > > > ~~ The information contained in or accompanying this email and any > attachment thereto, is intended solely for the use of the stated > recipient(s) and may contain information that is confidential and/or > privileged. Any dissemination, distribution or copying of this email and > any attachment by anyone who is not a stated recipient is strictly > prohibited. If you receive this message in error, please notify the sender > immediately and delete the message and any attachment from your system > without retaining a copy. ~~ > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- -- Jody Garnett
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users