[ka-Map-users] recent changes in cvs

Ed Cooley ecooley at strategysystems.com
Tue May 9 15:09:54 EDT 2006


Paul,

I am assuming these changes work at the layer level and are server centric
so when the timeout occurs all cached tiles are invalidated and any new
tiles are cached until the timeout expires again.

For example:  if you have many clients requesting they all expire at the
same time.  

Ed

---
Ed Cooley
Strategy Systems, Inc.
479-271-7400 - Fax: 271-7401
http://www.strategysystems.com/
 

-----Original Message-----
From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of Paul Spencer
Sent: Tuesday, May 09, 2006 1:40 PM
To: ka-map-users at lists.maptools.org
Subject: [ka-Map-users] recent changes in cvs

All,

I though I would just let everyone know that I have committed changes  
in cvs to add versioning support in a couple of ways.

First, you can now add a 'version' metadata in the web object of your  
map file.  This version, if present, is included in tile requests.   
The version used to create any tile is stored with the tiles.  When  
the version in the mapfile changes, the tiles are automatically re- 
requested by the client (because the url changes) and are regenerated  
in the cache on the server without needing to delete the cache.

Second, you can now specify a "redraw_interval" metadata in the  
metadata of a layer.  The redraw_interval is the number of seconds  
that the data for a particular layer/group should be considered  
valid.  When tiles are requested, if the current time is newer than  
the creation time plus this interval, the tiles are recreated.  There  
is a new function in the kaMap _layer API to trigger redrawing in  
this way.

Third, you can now specify a "refresh_interval" metadata in the  
metadata of a layer.  This is used to get kaMap to automatically  
redraw a layer after the number of seconds in this field pass.  This  
is intended to be used with layers that have a tile_source of redraw  
(and a redraw_interval) or nocache.

Note this won't work with precache2.php yet.  I'll follow up with Tim  
to get that updated.

Cheers

Paul
+-----------------------------------------------------------------+
|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