[ka-Map-users] can 2 map files share a cache for a specific data
group?
Lorenzo Becchi
lorenzo at ominiverdi.com
Mon Jan 8 21:44:29 EST 2007
if I remember right, in tile.php you have:
$szCacheDir = $szMapCacheDir."/".$scale."/".$szGroupDir."/".
$szLayerDir."/".$szMetaTileId;
just force $szMapCacheDir as a string of the same value, es:
$szCacheDir = "MyCommonMapDir/".$scale."/".$szGroupDir."/".
$szLayerDir."/".$szMetaTileId;
naturally all other params have to coincide.
This is pretty useful to reduce the total amount of cached layers,
more then ever with raster layers.
ciao
Lorenzo
On 08/gen/07, at 14:36, Paul Spencer wrote:
> Someone was talking about implementing this but I don't remember if
> it was ever done or contributed. Perhaps Lorenzo remembers?
>
> Paul
>
> On 5-Jan-07, at 5:50 PM, Sacha Black wrote:
>
>> is it possible to have two map file choices in ka-map, each with
>> different groups of layers, where one group is in common to both
>> map files and the kacache for that group is shared by both maps?
>>
>> sacha
>>
>> eg.
>>
>> map1
>> ----------
>> group1
>> group2
>> group3
>> group4
>>
>>
>> map2
>> ----------
>> group1
>> group5
>> group6
>> group7
>> _______________________________________________
>> 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 |
> +-----------------------------------------------------------------+
> |Chief Technology Officer |
> |DM Solutions Group Inc http://www.dmsolutions.ca/ |
> +-----------------------------------------------------------------+
>
>
>
>
More information about the ka-Map-users
mailing list