Re: [mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread Trygve Aspenes

Ah, thanks Thomas!

I did not catch that from the documentation.
I also needed to add layout like this:



/mapcache/{tileset}/{grid}/{dim:time}/{z}/{x}/{y}.{ext}



to make it work ( both from testing and looking at the documentation)

If you use the default this will be like tilecache as far as I 
understand.


Do you have any idea what will be the fastest? To use default like:

/mapcache


or the solution above with template? ( As a lot of 000 directories will 
be created with the base one)


Trygve

Den 2022-02-09 12:24, skrev thomas bonfort:

You should remove the /mapcache from the >cache> block,
as it takes precedence over your 

--
thomas

On Wed, Feb 9, 2022 at 12:10 PM Trygve Aspenes
 wrote:


Hi

I have a mapcache running using disk as cache method with config
like
this:


/mapcache



/mapcache/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext}



But here is what I get on disk:

/mapcache//EPSG:3857/2022-02-05T00:12:00Z/05/000/000/038/000/000/043.png

What I don't understand is below the zoom level (here 05) I get 000
followed by 000. Then the y followed by another double 000 before I
get
the x with my extension.

Where does all these 000 sub directories comes from and what
functions
do they have?

I don't think this affects the performance, but this must cause
creating
thousands and thousands of unnecessary sub directories?

Thanks.

Trygve
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread thomas bonfort
You should remove the /mapcache from the >cache> block, as it
takes precedence over your 

--
thomas

On Wed, Feb 9, 2022 at 12:10 PM Trygve Aspenes 
wrote:

> Hi
>
> I have a mapcache running using disk as cache method with config like
> this:
>
>  
>  /mapcache
>
> /mapcache/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext}
>  
>
> But here is what I get on disk:
>
> /mapcache/ name>/EPSG:3857/2022-02-05T00:12:00Z/05/000/000/038/000/000/043.png
>
> What I don't understand is below the zoom level (here 05) I get 000
> followed by 000. Then the y followed by another double 000 before I get
> the x with my extension.
>
> Where does all these 000 sub directories comes from and what functions
> do they have?
>
> I don't think this affects the performance, but this must cause creating
> thousands and thousands of unnecessary sub directories?
>
> Thanks.
>
> Trygve
> ___
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapcache disk cache gives unexpected paths to tiles

2022-02-09 Thread Trygve Aspenes

Hi

I have a mapcache running using disk as cache method with config like 
this:



/mapcache

/mapcache/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext}



But here is what I get on disk:

/mapcache/name>/EPSG:3857/2022-02-05T00:12:00Z/05/000/000/038/000/000/043.png


What I don't understand is below the zoom level (here 05) I get 000 
followed by 000. Then the y followed by another double 000 before I get 
the x with my extension.


Where does all these 000 sub directories comes from and what functions 
do they have?


I don't think this affects the performance, but this must cause creating 
thousands and thousands of unnecessary sub directories?


Thanks.

Trygve
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users