> Have a leaflet client, requesting 4 rasters from WMS, generating a new raster (applying the weights) in the browser and displaying this through leaflet?

WMS isn't the way to go with this. I mean, it can do it, but the WMS server may alter the values of the raster before serving them because it's meant to serve maps, not data. The standard to use here is WCS - Web Coverage Service. The WCS serves the four rasters as raw data so you know when the user combines them client side they're using the real data.

Cheers,

Jonathan


On Thu, May 30, 2019 at 18:13 van Ingen, Erik <e.vanin...@ifad.org <mailto: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 <http://www.ifad.org/>



_______________________________________________
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

Reply via email to