[Tilecache] Patch to KML Service to limit zooms to resolutions

Graham Carlyle graham.carlyle at maplecroft.com
Wed Nov 12 12:07:20 EST 2008


Hi Christopher

Your request for any oustanding patches reminded me of a patch I've 
applied to the KML service to stop it generating NetworkLink elements 
for zooms beyond the maximum resolution available. Patch is attached.

I've also got another change which might be of interest, it makes 
TileCache return an X-SendFile header rather than returning the tile 
data if the tile is cached so that apache serves the file. I think I'd 
have to clean it up a bit as its currently not optional and assumes you 
have a proxying webserver that understands this header. I guess it would 
need to be enabled via a config option. But maybe this functionality is 
a bit too specialised?

cheers,
Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kml_zoom_beyond_max_res.diff
Type: text/x-patch
Size: 1575 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20081112/00cf3913/kml_zoom_beyond_max_res.bin


More information about the Tilecache mailing list