Hi,
at the moment I've found where I can control the folders order inside
the mapcache.xml. The variables order inside the dimension tag define
the order of the folders creation
* my definition inside the mapcache.xml now is:
<dimensions>
<dimension type="values" name="minut"
default="15">00,01,02,03,04,05,06,07,08,09,10,
11,12,13,14,15,16,17,18,19,20,
21,22,23,24,25,26,27,28,29,30,
31,32,33,34,35,36,37,38,39,40,
41,42,43,44,45,46,47,48,49,50,
51,52,53,54,55,56,57,58,59</dimension>
<dimension type="values" name="hora"
default="00">00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24</dimension>
<dimension type="values" name="dia"
default="01">01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31</dimension>
<dimension type="values" name="mes"
default="01">01,02,03,04,05,06,07,08,09,10,11,12</dimension>
<dimension type="values" name="any" default="2012">2012,2103</dimension>
</dimensions>
* and I obtain
--Meteosat_params
|-------WGS84
|-------2012 (any, year)
|-------03 (mes, month)
|-------14 (dia, day)
|-------18 (hora, hour)
|-------00 (minut, minute)
I've done some tests and it seems the folders are created in the inverse order as I
define the variables inside<dimensions>, being carefull with this I can choose
the order inside the cache folder
_Apart from this I have a question:_
after all the params folders I obtain a estructure like
|-------000
|-------000
|-------XX (x column tile)
|-------000
|-------000
|-------YY (column tile)
*.png
which is the meaning of those*000* folders?
Thanks,
Helen
El 23/05/12 14:25, thomas bonfort escribió:
No, it's not possible to do this at the moment. You can contact me
directly if you would like a quote on how much it would cost to have
this implemented.
regards,
thomas
On Wed, May 23, 2012 at 1:58 PM, Helen San Segundo Navazo
<hsansegu...@meteo.cat> wrote:
hi ,
after some problems installing mapcache now I can use it perfectly.
I'm testing the mapcache_seed using dim variables and it works but when the
folders are created I don't know if it's possible to create it in a
determinate order.
I have a mapfile that accepts runtime substitution variables (date, hour,
minute)
My mapcache.xml has defined the dimensions tag inside the tileset tag with
the 3 variables
if I execute mapcache as:
sudo ./mapcache_seed -c /var/www/mapcache/mapcache.xml -t Meteosat_params -g
WGS84 -z 0,3 -M 2,2 -D "minute=00" -D "hour=14" -D "date=20120314"
I obtain:
--Meteosat_params
|-------WGS84
|-------00 (minute)
|-------14 (hour)
|-------20120314 (date)
It would be better for what I need if the folder order could be
date-hour-minute instead of minute-hour-date
I've tried to change the order in the mapcache_seed request but the result
is always the same, anybody knows if it's possible to define the folder's
order.
Thanks in advance,
Helen
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users