[ka-Map-users] Precache problem

Jan Hartmann j.l.h.hartmann at uva.nl
Tue Nov 15 08:38:53 EST 2005


Randy,

Try clearing your browser cache before switching from auto-generated to 
pre-generated tiles. Also, check the location where tiles are generated 
on the fly and check if these tiles are overwritten by precache.

Jan


Randy Page wrote:
> Hi Folks,
> 
>  
> 
> I am using the current CSV version of Ka-Map, and am having a strange 
> problem with precache.php (am using the precache.php from 0.1.1)   If I 
> attempt to pre-generate the tiles, precache goes through and creates the 
> directories and files, but each of the image files are blank (actually, 
> they are the background color set in the mapfile.)   So, it seems 
> precache is not turning on any layers.   However, if I simply hit the 
> web page, it generates the tiles on the fly properly (with layers turned 
> on.)   I found a post which said to make the following changes, which I 
> did with no improvement:
> 
>  
> 
> line 24: the path to "tile.php" has to be local
> 
> line 42: the redefinition of $ascales must be removed
> 
> line 74: the call to "tile.php" needs two more parameters:
> 
>           &map=$szKey&g=__base__
> 
>  
> 
> Note that my mapfile has no groups, only a bunch of layers, all of which 
> are turned on by default.   Any ideas as to where I am going wrong?
> 
>  
> 
> Thanks,
> 
>  
> 
> Randy
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users



More information about the ka-Map-users mailing list