From ckaiser at cct.lsu.edu Mon Feb 1 08:06:26 2016 From: ckaiser at cct.lsu.edu (Carola Kaiser) Date: Mon, 1 Feb 2016 10:06:26 -0600 Subject: [mapserver-users] How can I get a customized MapCache folder structure with several dimensions as subfolders Message-ID: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu> Hello, I am using MapServer 7.0 with MapCache and would like to customize the cache storage directory structure by using several dimensions as subfolders. The goal is to get a cache folder structure like: C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext} Here is what I have tried in my mapcache.xml file: 1. Use the absolute path C:/ms4w/tmp/ms_tmp/cache/ . vmap0 disk WGS84 PNG ^[0-9]{4}$ ^[0-9]{2}$ ^[0-9]{2}$ This works pretty nice but the final folder structure is: C:/ms4w/tmp/ms_tmp/cache/test/WGS84/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext} How can I get rid of the test/WGS84 folders? 2. Use the cache template tag