I have a set of layers that were created using the ImageMosaic plugin. All of them have the TIME dimension available, that we use to display animations on the front-end.
Our idea is to start caching all this layers using GeoWebCache, but we've found that when we send the requests for the tiles using the TIME=, in the response headers we get geowebcache-miss-reason: no parameter filter exists for TIME
Even though that we used the REST interface to pregenerate the cache specifying all the available TIME values. The following is the XML that we use to achieve this:
<?xml version="1.0" encoding="UTF-8"?>
<seedRequest>
<name>rasterdata_service:__LAYER_NAME__</name>
<bounds>
<!--For now, only the bounding box of Catalonia-->
<coords>
<double>-2495667.977678598</double>
<double>-2223677.196231552</double>
<double>3291070.6104286816</double>
<double>959189.3312465074</double>
</coords>
</bounds>
<gridSetId>EPSG:900913</gridSetId>
<zoomStart>6</zoomStart>
<zoomStop>11</zoomStop>
<format>image/png</format>
<!-- type can be seed, reseed, or truncate -->
<type>seed</type>
<threadCount>1</threadCount>
<parameters>
<entry>
<!--Generate the cached tiles for the specific TIME value-->
<string>TIME</string>
<string>2019-11-29T07:00:00.000Z</string>
</entry>
</parameters>
</seedRequest>
Also, in the GWC web interface, if we try to seed the cache manually, we don't see the option for specifying the TIME dimension (Even though it's mentioned in the documentation as one of the possible filters), only to select the Style:
Also the TIME dimension appears correctly when we make a getCapabilties request:
<Dimension name="time" default="2019-11-27T14:00:00Z" units="ISO8601">2019-11-26T16:00:00.000Z,2019-11-26T17:00:00.000Z,2019-11-26T18:00:00.000Z,2019-11-26T19:00:00.000Z,2019-11-26T20:00:00.000Z,2019-11-26T21:00:00.000Z,2019-11-26T22:00:00.000Z,2019-11-26T23:00:00.000Z,2019-11-27T00:00:00.000Z,2019-11-27T01:00:00.000Z,2019-11-27T02:00:00.000Z,2019-11-27T03:00:00.000Z,2019-11-27T04:00:00.000Z,2019-11-27T05:00:00.000Z,2019-11-27T06:00:00.000Z,2019-11-27T07:00:00.000Z,2019-11-27T08:00:00.000Z,2019-11-27T09:00:00.000Z,2019-11-27T11:00:00.000Z,2019-11-27T12:00:00.000Z,2019-11-27T13:00:00.000Z,2019-11-27T14:00:00.000Z</Dimension>
Is there any option within the GeoWebCache that I'm not configuring correctly? Or does the GWC not support the ImageMosaic?
GeoServer version: 2.16.0 running from the official dockerfile (Linux)