[ka-Map-users] couple issues - maybe a cache bug

Ravi ravikapoor101 at gmail.com
Thu Nov 23 14:23:26 EST 2006


Further investigation shows that even at 512x512 it fails to generate 
'some' files. I tried to set tile size to 512x512 and "tile_source" to 
"cache". My apache error logs are full of following errors.
----------------------------------------------------------------------
[Thu Nov 23 11:15:18 2006] [error] [client 192.168.1.2] File does not 
exist: 
C:/ms4w/tmp/ms_tmp/kacache/myMap/4000000/layer1/def/t-4608l-7680/t-3584l-6656.png, 
referer: http://localhost/iframe.html

[Thu Nov 23 11:15:18 2006] [error] [client 192.168.1.2] File does not 
exist: C:/ms4w/tmp/ms_tmp/kacache/myMap/4000000/layer1/def/t-3072l-7680, 
referer: http://localhost/iframe.html
----------------------------------------------------------------------

Notice that in first error it is at least requesting a specific file, in 
second case it seems to be requesting a directory which seems odd to me 
but you may know better. The second type of errors are a LOT more than 
first type.

Also, after IE tries to load these files for a minute or so, I received 
"Stack Overflow Error" in IE.

Ravi


Ravi wrote:
> 
> I did not remember which setting I had trouble with (never occurred to 
> me they were related), so I tried both settings, here are results:
> 
> Tile: 256x256 meta: 6x6  - Does NOT generate "t0l-1536" & "t0l-3072"
> Tile: 512x512 meta: 3x3  - DOES generate "t0l-1536" & "t0l-3072"
> 
> Regards
> Ravi
> 
> 
> Paul Spencer wrote:
>> Ravi, what are your settings now for tile size and meta tile size?
>>
>> Paul
>>
>> On 22-Nov-06, at 11:12 PM, Ravi wrote:
>>
>>>
>>> Once again you were right. I got past that problem. However now I 
>>> have another strange problem. If I keep tile_source to auto, it 
>>> generates following tiles
>>>
>>> Map
>>>   25000000
>>>     layer1
>>>       def
>>>         t0l-1536
>>>         t0l-3072
>>>         t-1536l-1536
>>>         t-1536l-3072
>>>
>>> and so on. However when I run precache.php, it does NOT generate 
>>> directories "t0l-1536" and "t0l-3072". This results in my browser 
>>> making thousands of repeated requests to get these files and it 
>>> hangs. Any idea why the precache system is NOT generating these tiles?
>>>
>>> - Ravi
>>>
>>>
>>> Paul Spencer wrote:
>>>> Ravi, it sounds as if you have not removed the existing tiles from 
>>>> the kacache folder or did not clear your browser cache after this 
>>>> change.  The browser will silently resize your tiles for you and by 
>>>> conveniently doubling the size of them, you have ensured that they 
>>>> line up with existing 256x256 tiles.
>>>> Cheers
>>>> Paul
>>>
>>
>> +-----------------------------------------------------------------+
>> |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