[Tilecache] Customize TileCache get image routine

Christopher Schmidt crschmidt at metacarta.com
Mon Oct 15 07:48:42 EDT 2007


On Sun, Oct 14, 2007 at 09:31:02PM -0700, Linda_Rawson wrote:
> 
> Digital Globe has this inherent problem that when they don't have an image it
> will return the same image at a lower resolution.  It really should return a
> noimage tile.  What I would like to do is customize the python scripts so
> that if we did not have a tile cached it would first query the service to
> find out if there is an image and if there is no image then it would return
> a notile image.  Which python script would I change to do this?

You're going to want to create a Layer subclass specifically for Digital
Globe, in the Layer.py file.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list