[ka-Map-users] Cache path generation oddity
Paul Spencer
pspencer at dmsolutions.ca
Mon Apr 24 15:59:44 EDT 2006
David,
I've removed the extraneous slash from config.dist.php in cvs.
Thanks for reporting this.
Cheers
Paul
On 11-Apr-06, at 2:05 PM, David Badke wrote:
> Tracing through a problem in making tiles I noticed this oddity
> (this is from a recent CVS update):
>
> In config.php, cache directory for the current (default) map is set to
>
> $szMapCacheDir = $szBaseCacheDir.$szMap."/";
>
> In tile.php, the cache directory for the tile is set to
>
> $szCacheDir = $szMapCacheDir."/".$scale."/".$szGroupDir."/".
> $szLayerDir."/".$szMetaTileId;
>
> This results in a path for example like
>
> /root/kamap/mymap//101/layer1/def/t1000l4000
>
> The extra / after the map name doesn't seem to do any harm (on
> either Windows or Linux), but it probably shouldn't be there.
>
> David
>
> -- David Badke Humanities Computing and Media Center University of
> Victoria, BC, Canada
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the ka-Map-users
mailing list