GeoServer
  1. GeoServer
  2. GEOS-4184

Enable SQL View parameters to be specified per layer

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1-beta1
    • Fix Version/s: 2.1.1
    • Component/s: WMS
    • Labels:
      None
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      3

      Description

      Enhance WMS so that Parametric SQL Views can accept parameters for individual layers (instead of applying the same set to all layers). The current VIEWPARAMS syntax would be extended to allow for specification of multiple parameter sets in the form of VIEWPARAMS=PARAMS1[,PARAMS2[...]] where the number of parameter sets provided can be zero, one or N where N is equal to the number of LAYERS specified. If only one set of parameters is specified it is applied to all layers. I have attached a patch that implements this behavior (n.b. the patch includes some overlap [KvpUtils] with the one provided in GEOS-4180).

      1. GEOS-4184.patch
        27 kB
        Andrea Aime
      2. multi-param.patch
        19 kB
        Eli Miller
      1. compare.png
        21 kB

        Activity

        Andrea Aime made changes -
        Field Original Value New Value
        Attachment GEOS-4184.patch [ 55214 ]
        Andrea Aime made changes -
        Attachment compare.png [ 55215 ]
        Andrea Aime made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.1 [ 17360 ]
        Resolution Fixed [ 1 ]
        Andrea Aime made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Eli Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: