<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello, I have got a problem with the tile.php of a WMS layer.<BR>
<BR>
This layer is of the spanish catastro.<BR>
<BR>
There are some tiles that I can't see, and I go to see the files in the tmp and see tiles white.<BR>
<BR>
When I go to kamap in another time the tiles are white again, and I have got that delete the tiles in the directory tmp.<BR>
Then KAMAP redraw it ok<BR>
<BR>
I think that kamp would must can refresh the screen with this problem even when the configuration of this layer is tilesource: cache<BR>
<BR>
<BR>
In the tile.php there is this code:<BR>
<BR><FONT size=2>
//acquire shared lock for reading to prevent a problem that could occur<BR>
//if a tile exists but is only partially generated.<BR>
flock($fpLockFile, LOCK_SH);<BR>
$h = fopen($szCacheFile, "r");<BR>
header("Content-Type: ".$szImageHeader);<BR>
header("Content-Length: " . filesize($szCacheFile));<BR>
header("Expires: " . date( "D, d M Y H:i:s GMT", time() + 31536000 ));<BR>
header("Cache-Control: max-age=31536000, must-revalidate" );<BR>
fpassthru($h);<BR>
fclose($h);<BR>
//release lock<BR>
fclose($fpLockFile);<BR>
/* bug 1253 - root permissions required to delete cached files */<BR>
umask($orig_umask);<BR></FONT>
<BR>
<BR>
Can somebody help me? Please<BR><BR><BR>
<DIV>Saludos, <BR>----------- <BR>Antonio García Benlloch <BR><BR><STRONG>Correo: <BR></STRONG>angarben@hotmail.com <BR><A href="mailto:angarben@aaa.upv.es">angarben@aaa.upv.es</A> <BR><BR><STRONG>Web: <BR></STRONG>http://personales.alumno.upv.es/~angarben</DIV><BR><BR><BR><BR>> Date: Wed, 3 Sep 2008 12:02:49 -0400<BR>> From: ka-map-users-request@lists.maptools.org<BR>> Subject: ka-Map-users Digest, Vol 41, Issue 1<BR>> To: ka-map-users@lists.maptools.org<BR>> <BR>> Send ka-Map-users mailing list submissions to<BR>> ka-map-users@lists.maptools.org<BR>> <BR>> To subscribe or unsubscribe via the World Wide Web, visit<BR>> http://lists.maptools.org/mailman/listinfo/ka-map-users<BR>> or, via email, send a message with subject or body 'help' to<BR>> ka-map-users-request@lists.maptools.org<BR>> <BR>> You can reach the person managing the list at<BR>> ka-map-users-owner@lists.maptools.org<BR>> <BR>> When replying, please edit your Subject line so it is more specific<BR>> than "Re: Contents of ka-Map-users digest..."<BR>> <BR>> <BR>> Today's Topics:<BR>> <BR>> 1. Re: auto refresh layers (Edward Cooley)<BR>> <BR>> <BR>> ----------------------------------------------------------------------<BR>> <BR>> Message: 1<BR>> Date: Tue, 2 Sep 2008 13:25:33 -0500<BR>> From: Edward Cooley <ecooley@strategy5.com><BR>> Subject: Re: [ka-Map-users] auto refresh layers<BR>> To: marco mugnaini <sitigenova@gmail.com><BR>> Cc: ka-map-users@lists.maptools.org<BR>> Message-ID: <D69A4B4D-8A6C-4912-99FA-E1E1DB5CB216@strategy5.com><BR>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<BR>> <BR>> If you only have a few alerts (less than 50) you should consider using <BR>> geoObjects instead of a layer. That way you can issue an AJAX request <BR>> that returns an updated array of alerts and handle with javascript <BR>> rather than the bulk of refreshing a layer.<BR>> <BR>> Having said that, there is auto-refresh timers built into kamap that <BR>> can be used to refresh a layer.<BR>> <BR>> Here is an example of a layer I use for radar weather images updating <BR>> every 10 minutes.<BR>> <BR>> LAYER<BR>> GROUP "Weather"<BR>> NAME "weather"<BR>> STATUS OFF<BR>> METADATA<BR>> "opacity" "50"<BR>> "redraw_interval" "600"<BR>> "tile_source" "redraw"<BR>> "refresh_interval" "300"<BR>> END<BR>> TYPE RASTER<BR>> STATUS OFF<BR>> DATA "../data/weather/weather.gif"<BR>> END<BR>> <BR>> <BR>> ---<BR>> Edward J. Cooley<BR>> Strategy Systems, Inc.<BR>> http://www.strategysystems.com<BR>> Phone: 479-271-7400 Ext. 103<BR>> Photograph Blog - Photo Galleries<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> On Aug 22, 2008, at 1:41 AM, marco mugnaini wrote:<BR>> <BR>> > Hello,<BR>> > i'm a rookie for ka-map and i need some information...<BR>> ><BR>> > ka-map it's the right application to make visual alert system?<BR>> ><BR>> > in practice, it's possible to set an autorefresh for the layers?<BR>> ><BR>> > have you any experience in that?<BR>> ><BR>> > ...to make an example: info traffic in real time..<BR>> ><BR>> > thanks to everyone from italy!<BR>> > _______________________________________________<BR>> > ka-Map-users mailing list<BR>> > ka-Map-users@lists.maptools.org<BR>> > http://lists.maptools.org/mailman/listinfo/ka-map-users<BR>> <BR>> <BR>> <BR>> ------------------------------<BR>> <BR>> _______________________________________________<BR>> ka-Map-users mailing list<BR>> ka-Map-users@lists.maptools.org<BR>> http://lists.maptools.org/mailman/listinfo/ka-map-users<BR>> <BR>> <BR>> End of ka-Map-users Digest, Vol 41, Issue 1<BR>> *******************************************<BR><br /><hr />Entra ya en I love Messenger y consigue 30 emoticonos <a href='http://www.vivelive.com/ilovemessenger' target='_new'> ¡Gratis!</a></body>
</html>