Discussion:
[Geoserver-users] GWC, Layer Groups, TIME dimension
Mike Grogan
2013-09-17 14:49:29 UTC
Permalink
I have several related layers, each with a TIME dimension, for which I
currently cache tiles with GWC with each TIME dimension having a separate
cache in GWC.

I want to combine those related layers in a Layer Group.

The Layer Group seems to respond appropriately to a TIME parameter in the
URL.

However, it seems there is no way to get GWC to cache the TIME dimension
separately for a layer group.

Is this correct?

Thanks,

Mike Grogan
Mike Grogan
2013-09-17 15:09:24 UTC
Permalink
I will follow-up by saying:

1. There is no option in the Geoserver GUI for this. The "Parameter
Filter" section is blank. The section shows up, but there is nothing
there.

2. If I manually edit the gwc-layers xml config (for this layer
gwc-layers/LayerGroupInfoImpl--c6eb92d_1412c1e1b5a_-2ef6.xml) and add in:

<parameterFilters>
<regexParameterFilter>
<key>TIME</key>
<defaultValue></defaultValue>
<regex>.*</regex>
</regexParameterFilter>
</parameterFilters>

then gwc does seem to respect the TIME parameter and creates a separate
cache for different TIME values.

Thanks,

Mike
Post by Mike Grogan
I have several related layers, each with a TIME dimension, for which I
currently cache tiles with GWC with each TIME dimension having a separate
cache in GWC.
I want to combine those related layers in a Layer Group.
The Layer Group seems to respond appropriately to a TIME parameter in the
URL.
However, it seems there is no way to get GWC to cache the TIME dimension
separately for a layer group.
Is this correct?
Thanks,
Mike Grogan
Mike Grogan
2013-09-19 14:18:34 UTC
Permalink
I will have a look in 2.4. This is on 2.3.3 and haven't brought 2.4 into
production yet. For the time being, I just manually added the parameter in
the XML config for the gwc layer and it seems to be caching w/time
parameter appropriately.

Thanks,

Mike Grogan
You could add the parameter filter yourself by using the REST API, or
using the new parameter filter editor UI in GeoServer 2.4.
Post by Mike Grogan
I have several related layers, each with a TIME dimension, for which I
currently cache tiles with GWC with each TIME dimension having a separate
cache in GWC.
I want to combine those related layers in a Layer Group.
The Layer Group seems to respond appropriately to a TIME parameter in the
URL.
However, it seems there is no way to get GWC to cache the TIME dimension
separately for a layer group.
Is this correct?
Thanks,
Mike Grogan
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Kevin Smith
Junior Software Engineer | Boundless
+1-778-785-7459
@boundlessgeo <https://twitter.com/boundlessgeo>
Kevin Smith
2013-09-18 22:50:23 UTC
Permalink
You could add the parameter filter yourself by using the REST API, or using
the new parameter filter editor UI in GeoServer 2.4.
Post by Mike Grogan
I have several related layers, each with a TIME dimension, for which I
currently cache tiles with GWC with each TIME dimension having a separate
cache in GWC.
I want to combine those related layers in a Layer Group.
The Layer Group seems to respond appropriately to a TIME parameter in the
URL.
However, it seems there is no way to get GWC to cache the TIME dimension
separately for a layer group.
Is this correct?
Thanks,
Mike Grogan
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Kevin Smith

Junior Software Engineer | Boundless

***@boundlessgeo.com

+1-778-785-7459

@boundlessgeo <https://twitter.com/boundlessgeo>
Loading...