Hi,

I've setup a layer-group, which is then cached by GWC, I've setup a
parameter filter for the layer-group like this:

  <parameterFilters>
    <stringParameterFilter>
      <key>bgcolor</key>
      <defaultValue>0xb5d0d0</defaultValue>
      <values>
        <string>0xb5d0d0</string>
      </values>
    </stringParameterFilter>
  </parameterFilters>

If I understand correctly, this would allow both requests with bgcolor
set to 0xb5d0d0 to be cached, or requests without bgcolor would have
0xb5d0d0 set by default.

However, it does not work - the tiles are cached ok, but the bgcolor
is always white.

Somewhere I read something about the quota store having to be enabled
for GWC parameter filters to work correctly, and I've tried enabling
quotas for GWC, but it make no difference.

A bit of the geoserver log output when generating new tiles is here:

http://paste2.org/5DgLBOV0

It looks like the bgcolor parameters DOES arrive with the geoserver -
see the lines: BgColor = java.awt.Color[r=181,g=208,b=208]

I use geoserver 3.5

Any ideas?

Thanks a lot!

- Gunnar

-- 
http://gromgull.net

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to