[ka-Map-users] <kein Betreff>

Paul Spencer pspencer at dmsolutions.ca
Tue Jul 5 20:47:56 EDT 2005


Hi,

there is nothing right now unfortunately.  We discussed several ways of 
handling this, the most likely being to include a version number for a 
map in the configuration file and to use this version number somehow in 
the tile caching system to indicate that a tile is expired and to delete it.

The reason you probably don't have permission to delete the cached files 
is that they are created by the apache (or iis) user account.  By 
including the capability to regenerate tiles based on a map version, the 
apache process could take care of deleting cached tiles and would have 
the necessary permissions to do so.  tile.php already contains the 
necessary code to force tile regeneration, so it would just be a matter 
of adding the version check.  Ideally, a version file would get written 
into the meta folder for each metatile containing the version number. 
This would add overhead to tile.php and cause the whole application to 
slow down because every tile access would have additional file i/o 
tests.  Perhaps there is a smarter way?

Alternately, a new script could be written to scan the cache directory 
and cause all existing tiles to be regenerated.  This would help with 
the performance issue by eliminating unnecessary tests in the 
performance critical code, and optimize tile generation to only those 
tiles that have been previously generated (and therefore most likely to 
be needed)

This being said, I have no plans to add this capability at this time due 
to lack of resources.  If someone wants to tackle this issue, I would be 
willing to incorporate the results into the cvs version though :)

Cheers

Paul

maik at maitro.de wrote:
> Hello,
> 
> we have a little problem with ka-Map!
> ka-Map creates for every scale an own folder on the server. When we change our mapfile ka-Map doesn`t create a new map. It takes the cashed map from the created folder. The problem is, that we use a dynamic mapfile an we have no rights to delete the folders every time. Is there a solution to solve this problem?
> 
> Thanks a lot and greetings from Karlsruhe, Germany
> 
> Hans-Peter Hebel &
> Maik Trömel
> 
> _______________________________________________
> 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/|
+-----------------------------------------------------------------+


More information about the ka-Map-users mailing list