Tim,<br>
<br>
I had tested the precache2.php and it works well. I didn't had<br>
time enough to test and debug, but it seems it's fine. I had<br>
problems with precache.php, not precache2.php.<br>
<br>
I tested with a map with 2 layers. A raster ikonos image and<br>
a vector layer, with 3 scales.<br>
<br>
I have 2 comments:<br>
<br>
1) I had problem with operation timeout, but this was a php<br>
configuration problem. The operation was taking more<br>
than 30 secs and php refuse it. Only you have to do is<br>
change this option in php.ini file.<br>
<br>
2) A suggestion: it would be nice to have a option in precache<br>
to only calculate the number of tiles and the total size for<br>
precaching the whole map (or some specified layers). This<br>
would be great for server specification planning, because<br>
when you start to develop a GIS application in ka-Map,<br>
and start planning, is hard to estimate how big (and<br>
how "powerful") your server should be.<br>
<br>
I will test the precache2.php more times in the next days<br>
so later I will post more comments here.<br>
<br>
regards,<br>
<br>
Pedro Garcia.<br><br><div><span class="gmail_quote">2006/4/21, Tim Schaub <<a href="mailto:tim@commenspace.org">tim@commenspace.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div><span><font face="Trebuchet MS" size="2">If anybody
is interested in testing out a new precache script, I've added precache2.php to
CVS. This version should be quite a bit faster than the old version as it
doesn't rely on creating tiles by calling tile.php.</font></span></div>
<div><span><font face="Trebuchet MS" size="2"></font></span> </div>
<div><span><font face="Trebuchet MS" size="2">Run "php
precache2.php -h" from the command line to see usage. </font></span></div>
<div><font face="Trebuchet MS" size="2"></font> </div>
<div><span><font face="Trebuchet MS" size="2">As a note
of caution, this script has caused me some trouble on a Windows XP machine with
mapserver 4.8.1. However, it works well on Linux with
4.6.1.</font></span></div>
<div align="left"><font face="Trebuchet MS" size="2"><span><font face="Trebuchet MS" size="2"></font></span></font> </div>
<div align="left"><font face="Trebuchet MS" size="2"><span><font face="Trebuchet MS" size="2">Thanks for any
feedback. If it looks like it works for others, I'll replace the old
precache.php with this one.</font></span></font></div></div><div style="direction: ltr;"><span class="sg">
<div align="left"><font face="Trebuchet MS" size="2"></font> </div>
<div align="left"><font face="Trebuchet MS" size="2"><span>Tim</span></font></div>
</span></div><br>_______________________________________________<br>ka-Map-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br><br></blockquote>
</div><br>