@@ -96,6 +96,7 @@ void parseDimensions(mapcache_context *ctx, ezxml_t node, mapcache_tileset *tile
9696 char * name = (char * )ezxml_attr (dimension_node ,"name" );
9797 char * type = (char * )ezxml_attr (dimension_node ,"type" );
9898 char * unit = (char * )ezxml_attr (dimension_node ,"unit" );
99+ char * skip_validation = (char * )ezxml_attr (dimension_node ,"skip_validation" );
99100 char * default_value = (char * )ezxml_attr (dimension_node ,"default" );
100101
101102 mapcache_dimension * dimension = NULL ;
@@ -112,6 +113,8 @@ void parseDimensions(mapcache_context *ctx, ezxml_t node, mapcache_tileset *tile
112113 dimension = mapcache_dimension_regex_create (ctx -> pool );
113114 } else if (!strcmp (type ,"intervals" )) {
114115 dimension = mapcache_dimension_intervals_create (ctx -> pool );
116+ } else if (!strcmp (type ,"sqlite" )) {
117+ dimension = mapcache_dimension_sqlite_create (ctx -> pool );
115118 } else if (!strcmp (type ,"time" )) {
116119 ctx -> set_error (ctx ,501 ,"time dimension type not implemented yet" );
117120 return ;
@@ -130,6 +133,10 @@ void parseDimensions(mapcache_context *ctx, ezxml_t node, mapcache_tileset *tile
130133 if (unit && * unit ) {
131134 dimension -> unit = apr_pstrdup (ctx -> pool ,unit );
132135 }
136+
137+ if (skip_validation && !strcmp (skip_validation ,"true" )) {
138+ dimension -> skip_validation = MAPCACHE_TRUE ;
139+ }
133140
134141 if (default_value && * default_value ) {
135142 dimension -> default_value = apr_pstrdup (ctx -> pool ,default_value );
0 commit comments