[Tilecache] Can't directly access the cache from Potlatch
ian.dees at gmail.com
Wed Sep 1 12:50:39 EDT 2010
On Wed, Sep 1, 2010 at 11:32 AM, Eric Wolf <ebwolf at gmail.com> wrote:
> I think I'm missing something obvious:
> I've setup tilecache.cgi to construct a cache of the NAIP imagery on my
> local server. So far, this works great as an "Custom" imagery source in
> But I would also like to be able to hit the disk cache directly, ala:
> I can successfully load individual images from the cache like this:
> When I look at the Apache error log, I see "Cache hit:... Tile: x: 15060,
> y: 40188, z: 16
> But in the naip/0/16/15060 directory, there are only four PNGs with
> filenames nothing like "40188.png":
> 25345.png, 25346.png, 25347.png, 25348.png,
> My tilecache.cfg looks like this:
> I guess this could be a moot point if there isn't a significant speed improvement hitting the cache directory directly vs. using tilecache.cgi as a proxy.
1. Tilecache does directory munging to guarantee that any one directory has
a limited number of files in it. You probably actually want to look in the
/osmcp/rails/public/naip/16/000/015/060/000/040/ directory for 188.png.
2. tms_type=google flips one of the axes on its head so the tiles that get
saved in cache will have a different number than the ones on the disk.
After typing all this I noticed you used the GoogleDesk cache type, so I
might be completely wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tilecache