Skip to content

Commit 71bf411

Browse files
committed
Merge branch 'branch-1-6' of github.com:mapserver/mapcache
2 parents 6694b16 + 145a29b commit 71bf411

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ endif ()
1212

1313

1414
set (MAPCACHE_VERSION_MAJOR 1)
15-
set (MAPCACHE_VERSION_MINOR 7)
15+
set (MAPCACHE_VERSION_MINOR 8)
1616
set (MAPCACHE_VERSION_REVISION 0)
1717

1818
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)

mapcache.xml.sample

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,12 @@
856856
file. i.e. their are as many different caches created as their are values in the
857857
<values> tag.
858858
-->
859-
<dimension type="values" name="DIM1" default="foobar">foobar,foobarbaz,foo,bar</dimension>
859+
<dimension type="values" name="DIM1" default="foobar">
860+
<value>foobar</value>
861+
<value>foobarbaz</value>
862+
<value>foo</value>
863+
<value>bar</value>
864+
</dimension>
860865

861866
<!-- regex dimension
862867
the following creates a MAPFILE dimension, for using the same mod-mapcache tileset with different
@@ -867,18 +872,12 @@
867872
spearated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will faill if there
868873
are two consecutive dots (..) in the path, to prevent filesystem traversal ( (?!.*\.\.) ).
869874
-->
870-
<dimension type="regex" name="MAPFILE" default="/path/to/mapfile.map">^(?!.*\.\.)[a-zA-Z0-9\./]*\.map$</dimension>
871-
872-
<!-- intervals dimension
873-
the syntax is the same as common-ows, i.e. a comma separated list of "min/max/resolution" entries.
874-
eg:
875-
* 0/5000/1000 allows the values 0,1000,2000,3000,4000 and 5000
876-
* 0/100/0 allows any values between 0 and 100
877-
* both values can be combined: 0/5000/1000,0/100/0
878-
-->
879-
<dimension name="ELEVATION" type="intervals" default="0">0/5000/1000</dimension>
875+
<dimension type="regex" name="MAPFILE" default="/path/to/mapfile.map">
876+
<regex>^(?!.*\.\.)[a-zA-Z0-9\./]*\.map$</regex>
877+
</dimension>
878+
880879

881-
<!-- coming in a future version: support for ISO8601 date/time dimensions -->
880+
<!-- todo: example support for ISO8601 date/time and sqlite dimensions -->
882881

883882
</dimensions>
884883
</tileset>

0 commit comments

Comments
 (0)