[Geoserver-devel] [jira] Created: (GEOS-4848) Freeform "ENV" and "STYLES" parameter filters

Freeform "ENV" and "STYLES" parameter filters
---------------------------------------------

                 Key: GEOS-4848
                 URL: https://jira.codehaus.org/browse/GEOS-4848
             Project: GeoServer
          Issue Type: Improvement
          Components: GWC
            Reporter: Rohan Singh
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: gwc-env.patch

This patch adds an option to the GWC integration to allow freeform ENV and STYLES parameters. It's implemented as a {{RegexParameterFilter}} with a pattern of {{".*"}}.

This is handy when the requested SLD ("styles") and values for SLD variable substitution ("env") are very variable, but still need to be cached.

Currently I am using this for a layer in which specific features need to be highlighted. For example:

bq. {{styles=highlight&env=featureToHighlight:myFeature}}

This is similar to the second technique described at http://trac.osgeo.org/openlayers/wiki/Highlighting. While this generates a large number of tiles, I still need the generated tiles to be cached. I imagine others will have similar use cases.

I know there is work underway to improve the GWC configuration UI, but this could solve some use cases right away.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

     [ https://jira.codehaus.org/browse/GEOS-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Roldán reopened GEOS-4848:
----------------------------------

Freeform "ENV" and "STYLES" parameter filters
---------------------------------------------

                Key: GEOS-4848
                URL: https://jira.codehaus.org/browse/GEOS-4848
            Project: GeoServer
         Issue Type: Improvement
         Components: GWC
           Reporter: Rohan Singh
           Assignee: Gabriel Roldán
           Priority: Minor
        Attachments: gwc-env.patch, gwc-env.patch, gwc-env.patch

This patch adds an option to the GWC integration to allow freeform ENV and STYLES parameters. It's implemented as a {{RegexParameterFilter}} with a pattern of {{".*"}}.
This is handy when the requested SLD ("styles") and values for SLD variable substitution ("env") are very variable, but still need to be cached.
Currently I am using this for a layer in which specific features need to be highlighted. For example:
bq. {{styles=highlight&env=featureToHighlight:myFeature}}
This is similar to the second technique described at http://trac.osgeo.org/openlayers/wiki/Highlighting. While this generates a large number of tiles, I still need the generated tiles to be cached. I imagine others will have similar use cases.
I know there is work underway to improve the GWC configuration UI, but this could solve some use cases right away.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira