Dimensions attributes are not properly passed in the demo service
Dear mapcache maintainers,
Much appreciations for your relentless work and effort in making mapcache the great software it is.
I have enabled dimensions at tileset level having read dimensions documentation on Tileset Dimensions and mapcache config. Below is my dimensions config
<dimensions>
<dimension type="regex" name="SELECTED_YEAR" default="2023">
<regex>^[2][0-9]{3}$</regex>
</dimension>
<dimension type="regex" name="SELECTED_MONTH" default="10">
<regex>^[01][0-9]$</regex>
</dimension>
<dimension type="values" name="SELECTED_TENDAYS" default="01">
<value>01</value>
<value>11</value>
<value>21</value>
</dimension>
</dimensions>
Viewing the layer on demo service show only one dimension is passed to the viewer (the first dimension) and the default value was ignored. Instead, the regex pattern was passed as the value.
However, if I pass dimension parameters to mapcache wms service, the tile is drawn.
I build main branch with libpcre2-dev. Here are my build flags
cmake -DWITH_APACHE=1 -DCMAKE_BUILD_TYPE=Release -DWITH_MEMCACHE=1 -DWITH_FCGI=0 -DWITH_CGI=0 \
-DWITH_GDAL=1 -DWITH_GEOS=1 -DWITH_OGR=1 -DWITH_PIXMAN=1 -DWITH_POSTGRESQL=1 -DWITH_PCRE=0 DWITH_PCRE2=1
Hi, I installed mapcache (1.15.0 on ubuntu 24.04.1 LTS installed from source) and the same behavior occurs. Also, with dimensions enabled, getcapabilities does not work. Regards