Uploaded image for project: 'GeoTools'
  1. GEOT-5688

Env function in RasterSymbolizer's ChannelSelection doesn't evaluate in StreamingRenderer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 16.2
    • Fix Version/s: 18.4, 19.2
    • Component/s: render
    • Labels:
      None

      Description

      When the env function is used in a RasterSymbolizer, it will evaluate correctly when using GeoServer's direct raster rendering path but not when using StreamingRenderer. This may be because org.geotools.filter.function.EnvFunction stores the env parameters from the request in a ThreadLocal but org.geotools.renderer.lite.StreamingRenderer does its rendering on a separate thread.

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              sikeoka Steve Ikeoka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: