[ka-Map-users] precache.php
Jan Hartmann
j.l.h.hartmann at uva.nl
Wed Nov 16 15:52:43 EST 2005
In my previous posting I forgot to mention one further change: the
y-values of the metatiles have to be reversed. To get precache.php
running you need to make the following changes:
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__
------> and add after line 62:
$t = -$metaMinY;
$metaMinY = -$metaMaxY;
$metaMaxY = $t;
echo "meta dimensions: $metaMinX, $metaMinY : $metaMaxX, $metaMaxY<BR>";
Jan
>
> Paul Spencer wrote:
>
>> Jan,
>>
>> for some strange reason, I removed precache.php from cvs ... I think
>> I thought it was broken or something. In any case, you should be
>> able to use the one from the "official" download since nothing has
>> changed that would affect it.
>>
>> If it works for you, please post to this list and I will try to put
>> it back into the cvs version
>>
>> Cheers
>>
>> Paul
>>
>> On 4-Nov-05, at 10:34 AM, Jan Hartmann wrote:
>>
>>> Hi,
>>>
>>> I've been working with the "official" download (workded out of the
>>> box, great product), and have switched to CVS now. I can't find
>>> precache.php any more, and want to pre-generate all my tiles. Is
>>> there an easy way for doing that?
>>>
>>> Jan
>>>
>>> Jan Hartmann
>>> Department of Geography
>>> University of Amsterdam
>>> j.l.h.hartmann at uva.nl
>>> _______________________________________________
>>> 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/|
>> +-----------------------------------------------------------------+
>>
>>
>>
>>
>>
>
> _______________________________________________
> 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